[mapguide-users] InitializeWebTier

Kenneth, GEOGRAF A/S ks at geograf.dk
Thu Feb 28 05:04:02 EST 2008


Odd, there is a leading "/" which indicates that the file 
utilityfunctions.aspx file is located at the root of the webserver.
I sill suggest you start over, and don't try to include the ASPX files, 
but rather copy paste the code into a codebehind file.

Regards. Kenneth, GEOGRAF A/S



swetha1 skrev:
> have pasted the screen shot of the error
>
>
>
> Swetha
>
>
> Kenneth, GEOGRAF A/S wrote:
>   
>> Where does it say "Failed to map utilityfunctions.aspx", is it in the 
>> designer, at build time, or at runtime?
>> Are there any references to a line number?
>> If so, what does the line contain, and what about the lines above and
>> below?
>>
>> To get this to work, I would recomend that you create a project, and 
>> select IIS as noted previously.
>> Add the MapGuideDotNetApi.dll reference, and copy all files from the 
>> mapviewernet/bin folder into the project bin folder.
>>
>> Then create a single new page, select all code functions from the 
>> "utilityfunctions.aspx" and paste them into the codebehind file.
>> Repeat the previous step for all required/desired functions/files.
>>
>> This will be a mess, but until you know exactly what functions you need, 
>> it is easier to keep them all in the same page.
>> Also, keeping all code in the codebehind file will make debugging and 
>> compiling much easier.
>>
>> Regards, Kenneth, GEOGRAF A/S
>>
>>
>>
>> swetha1 skrev:
>>     
>>> Well i have copied all the folders available in dotnetviewersample in a
>>> folder created in www...Then opened the same folder in visual
>>> studio....Then as you said have changed the webserver..... Now it is
>>> unable
>>> to find the utilityfunctions.aspx.....It says that failed to map
>>> utilityfunctions.aspx
>>>
>>> Regards
>>> Swetha
>>>
>>>
>>>
>>> Jackie Ng wrote:
>>>   
>>>       
>>>> You're gonna have to be more specific with the error message.
>>>>
>>>> - Jackie
>>>>
>>>>
>>>> swetha1 wrote:
>>>>     
>>>>         
>>>>> Hi,
>>>>>
>>>>> It is now giving me an error saying "failed to map
>>>>> "utilityfunctions.aspx".....It is in the same folder which is
>>>>> created.....Dont know why it is unable to find it? 
>>>>> :,(:,(
>>>>>
>>>>>
>>>>>       
>>>>>           
>>>>     
>>>>         
>>>   
>>>       
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>>
>>     
> http://www.nabble.com/file/p15732169/untitled.jpeg 
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080228/9cbe452c/attachment.html


More information about the mapguide-users mailing list