Webpart javascript errors on different pc

L

LeroyTheGreat

I have developed a web site application in visual studio 2005 using
webparts.It works fine on one pc but when i get latest source on
another and try running i get lots of javascript errors.

'webpartmanger is undefined', 'webpartmenu is undefined'.

It almost as though I'm missing something on the new pc. Has anyone
else experienced these errors?

On the pc where everything works ok, only VS 2005 is installed, on teh
new pc its installed siude by side with vs 2003. That is the only
difference.

Any ideas whats happening? Any help is appreciated.

Leroy.
 
L

LeroyTheGreat

I have found what is causing this behaviour.

Webresourceaxd is not functioning, i.e. it returns no script.

I have viewed the webresource.axd in the running script window and it
is empty on the pc which causes javascript errors.

Anyone know why webresource.axd is not functioning properly?
 
J

Jacky Kwok

I have found what is causing this behaviour.

Webresourceaxd is not functioning, i.e. it returns no script.

I have viewed the webresource.axd in the running script window and it
is empty on the pc which causes javascript errors.

Anyone know why webresource.axd is not functioning properly?


What is the order you installed the two VS in the new PC?

If you installed VS2003 after VS2005, the IIS in your new PC will be set
to use ASPNET1.1 but not ASPNET2.0.

try to re-install the ASPNET2.0 by follwoing command

%SYSTEMROOT%\Microsoft.NET\Framework\v2.0.5xxxx\aspnet_regiis.exe -i
 
L

Leroy

Thanks for your reply. I installed VS2005 after VS2003.

I resinstalled ASP.NET2.0 as you suggested but this didn't fix it.

Its almost as though the axd extension isn't being handled, although
the mapping is there in iis.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top