[mapguide-users] PHP to ASP - dotnet namespace problems

Dave Wilson dave.wilson at autodesk.com
Tue Mar 28 16:31:48 EST 2006


I had a similar error with some API script testing I was doing on
Windows 2003.

I found 2 things that appear to matter, assuming the .NET 2.0 version is
set properly under IIS.

1) Ensure the virtual directory for the application was set up UNDER the
mapguide virtual directory
2) I copied the bin folder from the www\mapviewernet\ directory to my
application's virtual directory. Alain L. mentioned about setting the
SYSTEM PATH to see these dll's. I skipped that step and made a copy
under my application directory and that appears to work although you
probably don't want to maintain multiple copies of these you can try
this to see if it works.

At that point the namespace issues disappeared. 

As a result I have under IIS 6

Default Website
--mapguide (virtual directory)
----myapps (virtual directory below mapguide)
------bin contains the mg dll's under the myapps folder

See if any of these ideas help.

Regards,
Dave

-----Original Message-----
From: Brian Flood [mailto:BFLOOD at SPATIALDATALOGIC.COM] 
Sent: Tuesday, March 28, 2006 12:30 PM
To: 'users at mapguide.osgeo.org'
Subject: RE: [mapguide-users] PHP to ASP - dotnet namespace problems 

I had this problem and it looks like the problem had to do with multiple
version of the .Net framework on the server machine. If this is your
case, goto to the properties for the web application, goto the ASPNET
tab and specify the 2.0 Framework. Once I did this, the compilation
errors were fixed...

cheers
brian


_______________________________

Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C6528F.6F60EF64"
Date: Tue, 28 Mar 2006 09:45:42 -0800
From: Jason Birch <Jason.Birch at nanaimo.ca>
Subject: [mapguide-users] PHP to ASP - dotnet namespace problems

Grasping at straws here...  
 
Have you tried doing a repair install on the web extensions?  Go into
Add/Remove Programs, Click on "Change" and then select the repair
option.
 
Jason


________________________________

From: Randy Glen Johnson [mailto:rjohnson at maintenanceconnection.com]
Sent: Tuesday, March 28, 2006 09:34
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] PHP to ASP - dotnet namespace problems



Jason, I fixed the path as well as moved items around in the path,
rebooted, tested again and again, but nothing seems to fix that error.  

 

Line 19 of the utilityfunctions.aspx is the line that is breaking...

 

<%@ Import Namespace="OSGeo.MapGuide" %>

 

is this a resource?  Should I be looking at a specific file that has
this resource? And its path?

 

Best Regards,

 

Randy Glen Johnson

Programmer Analyst

Maintenance Connection, Inc.

1-888-567-3434 ext 800

http://www.maintenanceconnection.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org






More information about the Mapguide_users mailing list