Controls don't render

G

Guest

I'm an intermediate/novice (I've probably developed a half dozen ASP.NET apps
at this point) ASP.NET C# developer at this point and am totally strumped by
a client's setup.

I am developing this for a client's intrnet. On my client's server (Windows
2000 Terminal Server with ASP.NET v1.14322) I can't get any of the WebForm
controls to render except for Label and (Web Form TextBox, RadioButtonList,
Button, LinkButton all don't render)

The bin directory w/dll has been copied over. I tried copying over several
apps that I know work on multiple servers over all have the same behavior.

Does anyone have any idea on what can be causing this and/or what I can do
to make this work?

Thanks in advance.

Abe Rosner
 
N

Nick Malik [Microsoft]

It is quite possible that the antivirus app running on your client's machine
prevented the .Net Framework installation from happening correctly. Can you
connect to that machine as administrator, turn off anti-virus, and reinstall
the framework? You are free to turn the anti-virus back on after that.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
 
G

Guest

Hi Nick,

Thanks so much for the response. Your recommendation sounded very reasonable
and I tried it out. Unfortunately I got the same response. The Server is a
Windows 2000 terminal server. The IT staff has given me administrative rights
to this virtual server. My test application has been reduced to one form with
one button and two labels, one as a static title and one "message" container,
and one on_click event to print text
to the message. I copy the files over (I know enough to copy the aspx,
config files, and bin directory...) and when I run the "app" in browser only
the static label renders (no button). Now it makes perfect sense that .NET
framework did not install properly, so I turned off Mcaffee antiVirus and
reloaded framework 1.1 (SP1) from MS site. It ran properly, told me it was
successful (I have user {domain}/ASPNET ... seems like no problem, right?
Nooooooooooo! I've scoured MSDN and TechNet for weeks now with no results,
I'm an external consultant, so IT is not paying much attention to me.

Could they (net administrator) have a setting or group policy affecting IIS
that prohibits dotnet from running? There is no software firewall, so that's
not an issue because I'm testing from the server. I can run static web pages
fine. I've run out of ideas, so I'm open to anything (yes I'm feeling
despirate here :( . Any direction or leads would be really helpful.

-- Abe
 
N

Nick Malik [Microsoft]

I am sorry that I can't do a lot from here. I've certainly seen messages
like yours posted on the newsgroups before, but that was quite a while ago.
I was under the impression that this issue was fixed in the current drops of
the framework. I'm going to suggest that you get hold of Product Support
Services to help with this situation.

When you re-installed the framework, did you use the console (available
through Virtual Server) or did you use Terminal Services? If you used T/S,
then you may have still have had anti-virus running if the console was
logged in or if it is running as a service.

I did a search of the public KB and didn't see anything, unfortunately.
I'm not in PSS, and I'm working from home, so I don't have any more
resources than you do.

Good Luck

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
 
G

Guest

Thanks for trying! Since I'm not allowed in the data center I'm only allowed
in using T/S. You're right, antivirus is still probably running on the box
despite virtual server session showing that I disabled it. The environment is
a bit weird which is definately complicating things. I'll find a solution and
post for others (tenacity counts ;) )
Best,
- Abe
 
G

Guest

As promised I'm posting the solution...

After a bit of digging around I found that IIS has to be mapped to ASP.NET.
ASPNET_WP.EXE (or in the case of Server 2003 w3wp.exe) may well be running
as a service on the box and IIS might still not see it. This happens if IIS
is deleted and then reinstalled after the .NET framework is installed.

The symptoms are that none of the server-side controls don't render. To
resolve this, either:
1) go to the IIS console go to the root default web site
2) select properties
3) home directory tab
4) configuration button
5) Add button (add extension .aspx this path of
(%winpath%\Framework\v1.1.4322\aspnet_isapi.dll) where %winpath% is the
location of windows (usually c:\windows or c:\winnt)

Restart IIS for good measure and everything should work.

I also found a msdn article that solves to problem slightly differently:
http://support.microsoft.com/default.aspx?scid=kb;en-us;306005

Hope this helps!

- Abe
 
N

Nick Malik [Microsoft]

That's it then... running aspnet_regiis does the trick for this one too?

Fascinating. I'll keep that in my back pocket.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
 

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

Top