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?
:,(:,(
--
View this message
Well i have copied all the folders available in dotnetviewersample in a
folder created in wwwThen opened the same folder in visual
studioThen as you said have changed the webserver. Now it is unable
to find the utilityfunctions.aspx.It says that failed to map
utilityfunctions.aspx
Did you create the appropriate virtual directory in IIS that maps to where
that folder is, and is it configured as an application?
- Jackie
swetha1 wrote:
Well i have copied all the folders available in dotnetviewersample in a
folder created in wwwThen opened the same folder in visual
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,
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
Hi,
I am trying to run the dotnetviewersample through visual studio, Which gave
me lots of errors so i have created a project in which default.aspx is
created instead of the ajaxviewersample.
Now if i want to view the map i need to include:
Library://UISapp/UIS/Layout/layout.WebLayoutWhich
Did you create a function called InitializeWebTier() ? If you are following
the sample then InitializeWebTier() is defined as follows:
void InitializeWebTier()
{
MapGuideApi.MgInitializeWebTier(path to webconfig.ini);
}
- Jackie
swetha1 wrote:
Hi,
I am trying to run the
Hi,
I am trying to open this dotnetviewersample in Visual studio, It is giving
an error in the utilityfunction.aspxso i created my own project where in
i pasted the code from ajaxviewersample and deleted the line #include
file=utilityfunctions.aspx..and tried calling the weblayout in
InitializeWebTier() is defined in the utilityfunctions.aspx that you omitted
from inclusion.
The reason you are getting errors in are probably because of:
- You are using frames (evil, but unavoidable since that's how the AJAX
viewer was designed). Visual Studio has no designer support for
Oh, and the folder you put your code in, make sure it is configured as an
application in IIS targeting ASP.net 2.0
- Jackie
Jackie Ng wrote:
InitializeWebTier() is defined in the utilityfunctions.aspx that you
omitted from inclusion.
The reason you are getting errors in are probably
Hi,
Well i am running the application with Visual Studio built in
WebServer.How do i change the WebServer??? And Regarding the folder have
prepared it in the www folder So may be the webserver is creating the
problem Can you please send me the code and help me out in how to change
Hi Swetha,
there should be no problem at all after the description given by Jackie.
neways, what you can do is make a new solution or say a new ASP.NEt website
and place the folder in http(at the time of creating the solution---open
visual studio , click on file--click on new website---select
I don't know what version or edition of Visual Studio you are using, but the
procedure for Visual Studio 2005 (non-Express) is.
If your project is an asp.net web application
1. Right click your asp.net project, select properties
2. Go to the Web tab and choose Use IIS Web Server, create or map
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?
:,(:,(
--
View this message in context:
http://www.nabble.com/InitializeWebTier-tp15729918s16610p15731086.html
Sent from the
14 matches
Mail list logo