Showing posts with label error. Show all posts
Showing posts with label error. Show all posts

Saturday, March 31, 2012

Server Side Debugging error in Hello World Application

Hi,

I'm new to the ASP.NET /.NET programming so excuse my very basic question. I
was trying to write the Hello World Application using ASP.Net using C# in
Visual Studio.Net
When I debug the application I get the error....

"Error while trying to run project. Unable to start debugging on the web
server. Server side-error occurred on sending debug HTTP request"

I have checked the usual Web.config for all the flags and also made my
Windows Domain User ID member of Debugger group etc.

Could someone please help and tell where I should look into to solve this
problem. This is very frustrating for me

regards
Bikram SuriThis might be of help... http://support.microsoft.com/?id=303067

"Bikram Suri" <bsuri@.hotmail.com> wrote in message
news:e0W91w4sFHA.2348@.tk2msftngp13.phx.gbl...
> Hi,
> I'm new to the ASP.NET /.NET programming so excuse my very basic question.
> I
> was trying to write the Hello World Application using ASP.Net using C# in
> Visual Studio.Net
> When I debug the application I get the error....
> "Error while trying to run project. Unable to start debugging on the web
> server. Server side-error occurred on sending debug HTTP request"
> I have checked the usual Web.config for all the flags and also made my
> Windows Domain User ID member of Debugger group etc.
> Could someone please help and tell where I should look into to solve this
> problem. This is very frustrating for me
> regards
> Bikram Suri

Server side error

Im trying to get my first aspx page working to no avail.
Im using Visual Studio .Net and when you start web services it gives you a short Hello World program to test the server with. When i try to run it all i get is the following error message.

Unable to start debugging on server.
Server side error occured on sending debug HTTP request.

I have tried all the procedures recommended on the Microsoft error page it sends you to with no luck at all.

Anything im missing?

IIS is installed.hello, make sure IIS is on, and ke sure u have give permission to ASPNET account for the folder in which the aspx page is in !!!
Ive set the asp account to administrator access and still the same error.

For some reason unknown to me my system is running fat32. Is this a problem at all?
administrator is something and aspnet account is something else, maybe this system is makingu troubles !!!!

Server Side Error

Hello,
If you hit this page ...http://www.ourwebzone.com/calendarprintout/index.aspx
You will see the error is referring to DotNetNuke web.config. This is not right.
I am tryng to run my Calendar Printout app.
I have my CalendarPrintout (no DB used) app setup like this...
FILE STRUCTURE
---------------
www.ourwebzone.com (root)
web.config (dotnetnuke is stored in root)
global.aspx
bin (folder)
--> CalendarPrintout
web.config
global.aspx
---> bin (folder)
CalendarPrintout.DLL
How come my web.config is being ignored in my CalendarPrintout folder??
Why is the DNN web.config being hit?
I tried to put my CalendarPrintout.DLL in the domains root BIN folder, but same error.
But, if I removed the BIN folder from my CalendarPrintout folder (see) above.. I get this error?
Parser Error Message:Could not load type 'CalendarPrintout.Global'.
Source Error:
Line 1: <%@dotnet.itags.org. Application Codebehind="Global.asax.vb" Inherits="CalendarPrintout.Global" %>

What do I do??
Thanks
FrankHello,
In order to run this application you have to create a VIRTUAL DIRECTORY for CalendarPrintout

HTH
regards
I have no control of Virtual direcories on my web host, but they said that they did that.
Any other ideas?
Thanks
Hello,
I'm sure that you should use virtual directory for this folder. If you move the calander foldet to the root it will work.
anyway, check this threadhttp://forums.asp.net/1069271/ShowPost.aspx
regards

Server side error

Hi

My Visual Studio.Net has functioned well for a long time. Then
suddendtly I get this message for every solution want to run:

"Error while trying to run project: Unable to start debugging on the
web server. Server side-error occurred on sending debug HTTP request.

Make sure the server is operating correctly. Verify there are no
syntax errors in web.config by doing a Debug.Start Without Debugging.
You may also want to refer to the ASP.NET and ATL Server debugging
topic in the online documentation."

The only thing I can remember that could have influenced these things
is that I have installed CoffeFree - a ftp-program.

I have tried to run aspnet_regiis.exe -i - it didn't help.

Do I have to reinstall everything...? :-(

Could anyone give a helping hand?

Yours
Poul MYou might have installed a patch that modified your IIS or ASPNET settings.

Try checking your URLScan ini file settings. This is where you decide if
debugging can happen through IIS (in many cases).
This ini file is usually in c:\windows\system32\inetsrv\urlscan\urlscan.ini

Look for the [AllowVerbs] section, and make sure "DEBUG" is listed there.
Also, make sure DEBUG is not listed under [DenyVerbs].

You can find more information here.
http://msdn.microsoft.com/library/d...-us/dnnetsec/ht
ml/ht_urlscan.asp

Hope that helps a bit.

Charlie Nilsson [msft]
Visual Studio Update

--

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
-------
> From: hoopyhot@.hotmail.com (Poul M)
> Newsgroups: microsoft.public.dotnet.framework.aspnet
> Subject: Server side error
> Date: 29 Aug 2003 05:15:41 -0700
> Organization: http://groups.google.com/
> Lines: 24
> Message-ID: <714e1833.0308290415.5e5ca548@.posting.google.com>
> NNTP-Posting-Host: 195.249.241.96
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: 8bit
> X-Trace: posting.google.com 1062159341 22797 127.0.0.1 (29 Aug 2003
12:15:41 GMT)
> X-Complaints-To: groups-abuse@.google.com
> NNTP-Posting-Date: 29 Aug 2003 12:15:41 GMT
> Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!news-out.cwix.com!newsfeed.cwix.co
m!prodigy.com!pd2nf1so.cg.shawcable.net!residentia l.shaw.ca!sjc70.webusenet.
com!news.webusenet.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!postnews1
google.com!not-for-mail
> Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:172603
> X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
> Hi
> My Visual Studio.Net has functioned well for a long time. Then
> suddendtly I get this message for every solution want to run:
> "Error while trying to run project: Unable to start debugging on the
> web server. Server side-error occurred on sending debug HTTP request.
> Make sure the server is operating correctly. Verify there are no
> syntax errors in web.config by doing a Debug.Start Without Debugging.
> You may also want to refer to the ASP.NET and ATL Server debugging
> topic in the online documentation."
> The only thing I can remember that could have influenced these things
> is that I have installed CoffeFree - a ftp-program.
> I have tried to run aspnet_regiis.exe -i - it didn't help.
> Do I have to reinstall everything...? :-(
> Could anyone give a helping hand?
> Yours
> Poul M

Server Side Debugging error in Hello World Application

Hi,
I'm new to the ASP.NET /.NET programming so excuse my very basic question. I
was trying to write the Hello World Application using ASP.Net using C# in
Visual Studio.Net
When I debug the application I get the error....
"Error while trying to run project. Unable to start debugging on the web
server. Server side-error occurred on sending debug HTTP request"
I have checked the usual Web.config for all the flags and also made my
Windows Domain User ID member of Debugger group etc.
Could someone please help and tell where I should look into to solve this
problem. This is very frustrating for me
regards
Bikram SuriThis might be of help... http://support.microsoft.com/?id=303067
"Bikram Suri" <bsuri@.hotmail.com> wrote in message
news:e0W91w4sFHA.2348@.tk2msftngp13.phx.gbl...
> Hi,
> I'm new to the ASP.NET /.NET programming so excuse my very basic question.
> I
> was trying to write the Hello World Application using ASP.Net using C# in
> Visual Studio.Net
> When I debug the application I get the error....
> "Error while trying to run project. Unable to start debugging on the web
> server. Server side-error occurred on sending debug HTTP request"
> I have checked the usual Web.config for all the flags and also made my
> Windows Domain User ID member of Debugger group etc.
> Could someone please help and tell where I should look into to solve this
> problem. This is very frustrating for me
> regards
> Bikram Suri
>
>

Thursday, March 29, 2012

Server Side Validation

Hi, i was wondering if asp.net validation controls validate on the server. I did a test turning off javascript and i got an error on my page which indicates to me that the server side validation did not take place. If the validation controls allow for server side validation then how do i enable it?

Appreciate your help.

Thanks

Yes, they validate on the server. Add a test for Page.IsValid is true in your post back event handler method (such as the Click method of a button). See this article for an example and many other common validation questions:http://aspalliance.com/699.

Server SIde Validation Issue

Hello,

I have several client side validation controls that cause an error message to be displayed in the validation summary control.

For one control, custom control, I am required to do SERVER SIDE VALIDATION.

I have the follwing code:

protected void validatePass_ServerValidate(object source, ServerValidateEventArgs args)
{
if (txtPass.Text != "Mohit")
{ validatePass.IsValid = false;
validatePass.ErrorMessage = "Wrong Password!";
}
else validatePass.IsValid = true;

}

When I enter the wrong password though I do not see the custom control generate any error message and I do not see any error message in the summary control either.

Any assisatance would be appreciated.When the wrong password is entered and the user submits the page, in the page load event or the button click event, do a check for if(Page.IsValid)
I appreciate your response.

I am afraid that I am a newbie and will need a little bit of help here.

Can you provide some pseudo code as to what I should do and can you please make any modifications to the code I provided if necessary.

Thanks!
Let's deal with this in a single thread, yeah?

http://www.vbforums.com/showthread.php?t=491694

(Since they're related questions)

Monday, March 26, 2012

Server side-error occurred on sending debug HTTP request

Hi,

my error is

error while tryng to run project: unable to start debugging on the web
server. Server side-error occurred on sending
debug HTTP request.
Make sure the server is operating correctly. Verify there are no syntax
errors in web.config by doing a debug.
Start without debugging. You may also to refer to the asp.net and ATL Server
debugging topic in the online documentation

For work, i have un-install iis and re-install iis any times on reset my
system (machine).

any ideas?tanks

"Trevor Benedict R" <trevornews@.yahoo.com> escreveu na mensagem
news:B74F81DE-FDF9-4162-AFE6-E05A902E24DD@.microsoft.com...
> If this is a Development machine then change the ProcessModel Section in
Machine.Config to use SYSTEM instead of Machine. Then restart Visual Studio.
The second thing that I can think of is if you have URL Scan installed then
check for all allowable verbs.
> Regards,
> Trevor Benedict R

Server side-error occurred on sending debug HTTP request

Hi,
my error is
error while tryng to run project: unable to start debugging on the web
server. Server side-error occurred on sending
debug HTTP request.
Make sure the server is operating correctly. Verify there are no syntax
errors in web.config by doing a debug.
Start without debugging. You may also to refer to the asp.net and ATL Server
debugging topic in the online documentation
For work, i have un-install iis and re-install iis any times on reset my
system (machine).
any ideas?If this is a Development machine then change the ProcessModel Section in Mac
hine.Config to use SYSTEM instead of Machine. Then restart Visual Studio. Th
e second thing that I can think of is if you have URL Scan installed then ch
eck for all allowable verbs
tanks
"Trevor Benedict R" <trevornews@.yahoo.com> escreveu na mensagem
news:B74F81DE-FDF9-4162-AFE6-E05A902E24DD@.microsoft.com...
> If this is a Development machine then change the ProcessModel Section in
Machine.Config to use SYSTEM instead of Machine. Then restart Visual Studio.
The second thing that I can think of is if you have URL Scan installed then
check for all allowable verbs.
> Regards,
> Trevor Benedict R

Server tage not well formed

Hello,
Can anyone tell me if this is possible. If yes then can you identify the error in this line. I am writing this line of code in .aspx file in VB.NET v1.1

<asp:Image id="productImage" runat="server" ImageUrl="<%# ConfigurationSettings.AppSettings("virtualdir") & DataBinder.Eval(Container.DataItem,"WebImageName")%>"></asp:Image>

The error says server tag not well formed.

Thanks

I would create a variable (string), to concatenate this:
ConfigurationSettings.AppSettings("virtualdir") & DataBinder.Eval(Container.DataItem,"WebImageName")

Dim sPath as string
sPath=ConfigurationSettings.AppSettings("virtualdir") & WebImageName ' (substitute WebImageName with however you retrieve this-like datareader/dataset...

Then, in your ImageURL:
ImageURL='<%# sPath %>'


Thanks for the help... But how can i write a fuction in the server tag. Do i need to write it seperately and make be call that function, if so can u say how can i do that.

Thanks Again.


It is a better idea if you use a method in the code behind to use the concatenation.

protected string FormatPath(string webImageName)
{
string virtualDirectory = (string) ConfigurationSettings.AppSettings["virtualdir"];
return virtualDirectory + webImageName;
}

Hope this helps!
I forgot you need to add something like this also:

<asp:Image id="productImage" runat="server" ImageUrl='<%# (string) FormatPath(DataBinder.Eval("Container.DataItem","webImageUrl") %>' "></asp:Image

Server tag not well formed error.

I have created a custom image control everything works fine. It renders in the browser fine.

But when I drop the control in the webform, set the properties, go to html view, then back to design view. I get a gray box where my custom control was that says "Error Creating Custom Control" and then a message of "Server Tag is not well formed".

Anyone know why this would happen?
Here is how it looks in HMTL view from within the IDE.

<JHA:JHAImageRollover id="JHAImageRollover1" onclick="http://www.google.com" runat="server" BaseImage="/common/images/btn_search.gif" RolloverImage="/common/images/btn_cancel.gif"></JHA:JHAImageRollover>Is there are <@.Register > tag on the top of the .aspx page that the control is on?

My guess is the page doesn't know anything about the control since its library is not registered with the page.

<%@. Register TagPrefix="jh1" Namespace="YourControlLibraryNamespace" Assembly="YourControlLibrary" %>
Got it fixed...strange though.

The TagPrefix in the page directive was "jha"
it was yelling because the control had "JHA"

go figure!?

Server tags cannot contain <% ... %> constructs

Hi,

I've put a appSetting tag into my web.config, but when I try to catch its
value to my Image WebControl occurs the follow error: "Server tags cannot
contain <% ... %> constructs."

on myPage.aspx (Notice the ImageUrl tag):
<asp:Image id="Image1" runat="server"
ImageUrl=<%=System.Configuration.ConfigurationSettings.AppSe ttings["SrcImgSi
stema"]%> /
So, What's wrong with my ImageUrl attribution?
Is there any way to do that?

thanks a lot
Marcosyou can set this property programmatically within a server script block:
Image1.ImageUrl =
System.Configuration.ConfigurationSettings.AppSett ings....
you cannot use <%%> inside a web control as web controls already run at the
server.
sharon.

"Marcos MOS" <marcos.santos@.softway.com.br> wrote in message
news:ulbiAAmIEHA.3240@.TK2MSFTNGP12.phx.gbl...
> Hi,
> I've put a appSetting tag into my web.config, but when I try to catch its
> value to my Image WebControl occurs the follow error: "Server tags cannot
> contain <% ... %> constructs."
> on myPage.aspx (Notice the ImageUrl tag):
> <asp:Image id="Image1" runat="server"
ImageUrl=<%=System.Configuration.ConfigurationSettings.AppSe ttings["SrcImgSi
> stema"]%> />
> So, What's wrong with my ImageUrl attribution?
> Is there any way to do that?
> thanks a lot
> Marcos
Thanks... but, I'd like to do it inside my .aspx file...

Isn't it possible?

tanks
Marcos

"Sharon" <talsharon@.hotmail.com> escreveu na mensagem
news:OvBFDJmIEHA.3128@.TK2MSFTNGP10.phx.gbl...
> you can set this property programmatically within a server script block:
> Image1.ImageUrl =
> System.Configuration.ConfigurationSettings.AppSett ings....
> you cannot use <%%> inside a web control as web controls already run at
the
> server.
> sharon.
> "Marcos MOS" <marcos.santos@.softway.com.br> wrote in message
> news:ulbiAAmIEHA.3240@.TK2MSFTNGP12.phx.gbl...
> > Hi,
> > I've put a appSetting tag into my web.config, but when I try to catch
its
> > value to my Image WebControl occurs the follow error: "Server tags
cannot
> > contain <% ... %> constructs."
> > on myPage.aspx (Notice the ImageUrl tag):
> > <asp:Image id="Image1" runat="server"
ImageUrl=<%=System.Configuration.ConfigurationSettings.AppSe ttings["SrcImgSi
> > stema"]%> />
> > So, What's wrong with my ImageUrl attribution?
> > Is there any way to do that?
> > thanks a lot
> > Marcos
i don't know of any way, and there is no reason to do it inside the html
section.
one of the ideas behind web controls design, is the separation of code from
html.

"Marcos MOS" <marcos.santos@.softway.com.br> wrote in message
news:e0ARXWmIEHA.364@.TK2MSFTNGP11.phx.gbl...
> Thanks... but, I'd like to do it inside my .aspx file...
> Isn't it possible?
> tanks
> Marcos
> "Sharon" <talsharon@.hotmail.com> escreveu na mensagem
> news:OvBFDJmIEHA.3128@.TK2MSFTNGP10.phx.gbl...
> > you can set this property programmatically within a server script block:
> > Image1.ImageUrl =
> > System.Configuration.ConfigurationSettings.AppSett ings....
> > you cannot use <%%> inside a web control as web controls already run at
> the
> > server.
> > sharon.
> > "Marcos MOS" <marcos.santos@.softway.com.br> wrote in message
> > news:ulbiAAmIEHA.3240@.TK2MSFTNGP12.phx.gbl...
> > > Hi,
> > > > I've put a appSetting tag into my web.config, but when I try to catch
> its
> > > value to my Image WebControl occurs the follow error: "Server tags
> cannot
> > > contain <% ... %> constructs."
> > > > on myPage.aspx (Notice the ImageUrl tag):
> > > <asp:Image id="Image1" runat="server"
> ImageUrl=<%=System.Configuration.ConfigurationSettings.AppSe ttings["SrcImgSi
> > > stema"]%> />
> > > > So, What's wrong with my ImageUrl attribution?
> > > Is there any way to do that?
> > > > thanks a lot
> > > Marcos
> >
use the binding syntax <%# bindingexpression %
-- bruce (sqlwork.com)

"Marcos MOS" <marcos.santos@.softway.com.br> wrote in message
news:ulbiAAmIEHA.3240@.TK2MSFTNGP12.phx.gbl...
> Hi,
> I've put a appSetting tag into my web.config, but when I try to catch its
> value to my Image WebControl occurs the follow error: "Server tags cannot
> contain <% ... %> constructs."
> on myPage.aspx (Notice the ImageUrl tag):
> <asp:Image id="Image1" runat="server"
ImageUrl=<%=System.Configuration.ConfigurationSettings.AppSe ttings["SrcImgSi
> stema"]%> />
> So, What's wrong with my ImageUrl attribution?
> Is there any way to do that?
> thanks a lot
> Marcos
In your code there are some errors :

The <%= construct can only be used in client script for write some value
from server (like old ASP).
your Image is server side not in client side!!!!

You can use the <%# construct. This is for binding value!
<asp:Image id="Image1" runat="server"
ImageUrl='<%#System.Configuration.ConfigurationSettings.AppSe ttings["SrcImgS
istema"]%>' /
this code require a DataBind() method call!!!

Brun

"Marcos MOS" <marcos.santos@.softway.com.br> wrote in message
news:ulbiAAmIEHA.3240@.TK2MSFTNGP12.phx.gbl...
> Hi,
> I've put a appSetting tag into my web.config, but when I try to catch its
> value to my Image WebControl occurs the follow error: "Server tags cannot
> contain <% ... %> constructs."
> on myPage.aspx (Notice the ImageUrl tag):
> <asp:Image id="Image1" runat="server"
ImageUrl=<%=System.Configuration.ConfigurationSettings.AppSe ttings["SrcImgSi
> stema"]%> />
> So, What's wrong with my ImageUrl attribution?
> Is there any way to do that?
> thanks a lot
> Marcos

Server tags cannot contain <% ... %> constructs

Hi,

I've put a appSetting tag into my web.config, but when I try to catch its
value to my Image WebControl occurs the follow error: "Server tags cannot
contain <% ... %> constructs."

on myPage.aspx (Notice the ImageUrl tag):
<asp:Image id="Image1" runat="server"
ImageUrl=<%=System.Configuration.ConfigurationSettings.AppSe ttings["SrcImgSi
stema"]%> /
So, What's wrong with my ImageUrl attribution?
Is there any way to do that?

thanks a lot
Marcosyou can set this property programmatically within a server script block:
Image1.ImageUrl =
System.Configuration.ConfigurationSettings.AppSett ings....
you cannot use <%%> inside a web control as web controls already run at the
server.
sharon.

"Marcos MOS" <marcos.santos@.softway.com.br> wrote in message
news:ulbiAAmIEHA.3240@.TK2MSFTNGP12.phx.gbl...
> Hi,
> I've put a appSetting tag into my web.config, but when I try to catch its
> value to my Image WebControl occurs the follow error: "Server tags cannot
> contain <% ... %> constructs."
> on myPage.aspx (Notice the ImageUrl tag):
> <asp:Image id="Image1" runat="server"
ImageUrl=<%=System.Configuration.ConfigurationSettings.AppSe ttings["SrcImgSi
> stema"]%> />
> So, What's wrong with my ImageUrl attribution?
> Is there any way to do that?
> thanks a lot
> Marcos
Thanks... but, I'd like to do it inside my .aspx file...

Isn't it possible?

tanks
Marcos

"Sharon" <talsharon@.hotmail.com> escreveu na mensagem
news:OvBFDJmIEHA.3128@.TK2MSFTNGP10.phx.gbl...
> you can set this property programmatically within a server script block:
> Image1.ImageUrl =
> System.Configuration.ConfigurationSettings.AppSett ings....
> you cannot use <%%> inside a web control as web controls already run at
the
> server.
> sharon.
> "Marcos MOS" <marcos.santos@.softway.com.br> wrote in message
> news:ulbiAAmIEHA.3240@.TK2MSFTNGP12.phx.gbl...
> > Hi,
> > I've put a appSetting tag into my web.config, but when I try to catch
its
> > value to my Image WebControl occurs the follow error: "Server tags
cannot
> > contain <% ... %> constructs."
> > on myPage.aspx (Notice the ImageUrl tag):
> > <asp:Image id="Image1" runat="server"
ImageUrl=<%=System.Configuration.ConfigurationSettings.AppSe ttings["SrcImgSi
> > stema"]%> />
> > So, What's wrong with my ImageUrl attribution?
> > Is there any way to do that?
> > thanks a lot
> > Marcos
i don't know of any way, and there is no reason to do it inside the html
section.
one of the ideas behind web controls design, is the separation of code from
html.

"Marcos MOS" <marcos.santos@.softway.com.br> wrote in message
news:e0ARXWmIEHA.364@.TK2MSFTNGP11.phx.gbl...
> Thanks... but, I'd like to do it inside my .aspx file...
> Isn't it possible?
> tanks
> Marcos
> "Sharon" <talsharon@.hotmail.com> escreveu na mensagem
> news:OvBFDJmIEHA.3128@.TK2MSFTNGP10.phx.gbl...
> > you can set this property programmatically within a server script block:
> > Image1.ImageUrl =
> > System.Configuration.ConfigurationSettings.AppSett ings....
> > you cannot use <%%> inside a web control as web controls already run at
> the
> > server.
> > sharon.
> > "Marcos MOS" <marcos.santos@.softway.com.br> wrote in message
> > news:ulbiAAmIEHA.3240@.TK2MSFTNGP12.phx.gbl...
> > > Hi,
> > > > I've put a appSetting tag into my web.config, but when I try to catch
> its
> > > value to my Image WebControl occurs the follow error: "Server tags
> cannot
> > > contain <% ... %> constructs."
> > > > on myPage.aspx (Notice the ImageUrl tag):
> > > <asp:Image id="Image1" runat="server"
> ImageUrl=<%=System.Configuration.ConfigurationSettings.AppSe ttings["SrcImgSi
> > > stema"]%> />
> > > > So, What's wrong with my ImageUrl attribution?
> > > Is there any way to do that?
> > > > thanks a lot
> > > Marcos
> >
use the binding syntax <%# bindingexpression %
-- bruce (sqlwork.com)

"Marcos MOS" <marcos.santos@.softway.com.br> wrote in message
news:ulbiAAmIEHA.3240@.TK2MSFTNGP12.phx.gbl...
> Hi,
> I've put a appSetting tag into my web.config, but when I try to catch its
> value to my Image WebControl occurs the follow error: "Server tags cannot
> contain <% ... %> constructs."
> on myPage.aspx (Notice the ImageUrl tag):
> <asp:Image id="Image1" runat="server"
ImageUrl=<%=System.Configuration.ConfigurationSettings.AppSe ttings["SrcImgSi
> stema"]%> />
> So, What's wrong with my ImageUrl attribution?
> Is there any way to do that?
> thanks a lot
> Marcos
In your code there are some errors :

The <%= construct can only be used in client script for write some value
from server (like old ASP).
your Image is server side not in client side!!!!

You can use the <%# construct. This is for binding value!
<asp:Image id="Image1" runat="server"
ImageUrl='<%#System.Configuration.ConfigurationSettings.AppSe ttings["SrcImgS
istema"]%>' /
this code require a DataBind() method call!!!

Brun

"Marcos MOS" <marcos.santos@.softway.com.br> wrote in message
news:ulbiAAmIEHA.3240@.TK2MSFTNGP12.phx.gbl...
> Hi,
> I've put a appSetting tag into my web.config, but when I try to catch its
> value to my Image WebControl occurs the follow error: "Server tags cannot
> contain <% ... %> constructs."
> on myPage.aspx (Notice the ImageUrl tag):
> <asp:Image id="Image1" runat="server"
ImageUrl=<%=System.Configuration.ConfigurationSettings.AppSe ttings["SrcImgSi
> stema"]%> />
> So, What's wrong with my ImageUrl attribution?
> Is there any way to do that?
> thanks a lot
> Marcos

Quote:

Originally Posted by Bruno Sirianni

In your code there are some errors :

The <%= construct can only be used in client script for write some value
from server (like old ASP).
your Image is server side not in client side!!!!

You can use the <%# construct. This is for binding value!
<asp:Image id="Image1" runat="server"
ImageUrl='<%#System.Configuration.ConfigurationSettings.AppSe ttings["SrcImgS
istema"]%>' /
this code require a DataBind() method call!!!

Brun

"Marcos MOS" <marcos.santos@.softway.com.br> wrote in message
news:ulbiAAmIEHA.3240@.TK2MSFTNGP12.phx.gbl...
> Hi,
> I've put a appSetting tag into my web.config, but when I try to catch its
> value to my Image WebControl occurs the follow error: "Server tags cannot
> contain <% ... %> constructs."
> on myPage.aspx (Notice the ImageUrl tag):
> <asp:Image id="Image1" runat="server"
ImageUrl=<%=System.Configuration.ConfigurationSettings.AppSe ttings["SrcImgSi
> stema"]%> />
> So, What's wrong with my ImageUrl attribution?
> Is there any way to do that?
> thanks a lot
> Marcos
>

In ASP.NET 2.0 not only can you refer to appSettings declaratively (without using the DataBinding syntax), which is precisely what you are trying to do here, but you can create an ExpressionBuilder that lets you run arbitrary code declaratively, which is precisely what you tried to do. Check it out here: http://infinitiesloop.blogspot.com/

Server tags cannot contain <% ... %> constructs

Hi,
I've put a appSetting tag into my web.config, but when I try to catch its
value to my Image WebControl occurs the follow error: "Server tags cannot
contain <% ... %> constructs."
on myPage.aspx (Notice the ImageUrl tag):
<asp:Image id="Image1" runat="server"
ImageUrl=<%=System.Configuration.ConfigurationSettings.AppSettings["SrcI
mgSi
stema"]%> />
So, What's wrong with my ImageUrl attribution?
Is there any way to do that?
thanks a lot
Marcosyou can set this property programmatically within a server script block:
Image1.ImageUrl =
System.Configuration.ConfigurationSettings.AppSettings....
you cannot use <%%> inside a web control as web controls already run at the
server.
sharon.
"Marcos MOS" <marcos.santos@.softway.com.br> wrote in message
news:ulbiAAmIEHA.3240@.TK2MSFTNGP12.phx.gbl...
> Hi,
> I've put a appSetting tag into my web.config, but when I try to catch its
> value to my Image WebControl occurs the follow error: "Server tags cannot
> contain <% ... %> constructs."
> on myPage.aspx (Notice the ImageUrl tag):
> <asp:Image id="Image1" runat="server"
>
ImageUrl=<%=System.Configuration.ConfigurationSettings.AppSettings["SrcImgSired">
> stema"]%> />
> So, What's wrong with my ImageUrl attribution?
> Is there any way to do that?
> thanks a lot
> Marcos
>
Thanks... but, I'd like to do it inside my .aspx file...
Isn't it possible?
tanks
Marcos
"Sharon" <talsharon@.hotmail.com> escreveu na mensagem
news:OvBFDJmIEHA.3128@.TK2MSFTNGP10.phx.gbl...
> you can set this property programmatically within a server script block:
> Image1.ImageUrl =
> System.Configuration.ConfigurationSettings.AppSettings....
> you cannot use <%%> inside a web control as web controls already run at
the
> server.
> sharon.
> "Marcos MOS" <marcos.santos@.softway.com.br> wrote in message
> news:ulbiAAmIEHA.3240@.TK2MSFTNGP12.phx.gbl...
its
cannot
>
ImageUrl=<%=System.Configuration.ConfigurationSettings.AppSettings["SrcImgSired">
>
i don't know of any way, and there is no reason to do it inside the html
section.
one of the ideas behind web controls design, is the separation of code from
html.
"Marcos MOS" <marcos.santos@.softway.com.br> wrote in message
news:e0ARXWmIEHA.364@.TK2MSFTNGP11.phx.gbl...
> Thanks... but, I'd like to do it inside my .aspx file...
> Isn't it possible?
> tanks
> Marcos
> "Sharon" <talsharon@.hotmail.com> escreveu na mensagem
> news:OvBFDJmIEHA.3128@.TK2MSFTNGP10.phx.gbl...
> the
> its
> cannot
>
ImageUrl=<%=System.Configuration.ConfigurationSettings.AppSettings["SrcImgSired">
>
use the binding syntax <%# bindingexpression %>
-- bruce (sqlwork.com)
"Marcos MOS" <marcos.santos@.softway.com.br> wrote in message
news:ulbiAAmIEHA.3240@.TK2MSFTNGP12.phx.gbl...
> Hi,
> I've put a appSetting tag into my web.config, but when I try to catch its
> value to my Image WebControl occurs the follow error: "Server tags cannot
> contain <% ... %> constructs."
> on myPage.aspx (Notice the ImageUrl tag):
> <asp:Image id="Image1" runat="server"
>
ImageUrl=<%=System.Configuration.ConfigurationSettings.AppSettings["SrcImgSired">
> stema"]%> />
> So, What's wrong with my ImageUrl attribution?
> Is there any way to do that?
> thanks a lot
> Marcos
>
In your code there are some errors :
The <%= construct can only be used in client script for write some value
from server (like old ASP).
your Image is server side not in client side!!!!
You can use the <%# construct. This is for binding value!
<asp:Image id="Image1" runat="server"
ImageUrl='<%#System.Configuration.ConfigurationSettings.AppSettings["Src
ImgS
istema"]%>' />
this code require a DataBind() method call!!!
Brun
"Marcos MOS" <marcos.santos@.softway.com.br> wrote in message
news:ulbiAAmIEHA.3240@.TK2MSFTNGP12.phx.gbl...
> Hi,
> I've put a appSetting tag into my web.config, but when I try to catch its
> value to my Image WebControl occurs the follow error: "Server tags cannot
> contain <% ... %> constructs."
> on myPage.aspx (Notice the ImageUrl tag):
> <asp:Image id="Image1" runat="server"
>
ImageUrl=<%=System.Configuration.ConfigurationSettings.AppSettings["SrcImgSired">
> stema"]%> />
> So, What's wrong with my ImageUrl attribution?
> Is there any way to do that?
> thanks a lot
> Marcos
>

Server Too Busy Error

From time to time I am receiving server too busy errors

<httpRuntime
maxRequestLength="1536"
executionTimeout="60"
appRequestQueueLimit="700"
/
These are my settings in my web.config. Is there anyway to monitor the apprequestqueue live? It seems a little odd that its going over 700. I server about 1.3 million pages per day so it is possible. I thought it would be interesting to keep a closer eye on it.

Is there any downside to upping to to say 1500 for safety?

Thanks
mike123I'd suggest setting up Performance Monitor to log the Queue numbers over a period of time. See if the traffic is hitting the limit based on normal traffic, or if perhaps some event (or specific page) is causing a large jump in queued pages -- which would indicate a problem that needs to be trouble-shooted with the code.

Server too busy error

Hi.
I have an asp.net application running under Windows 2003 Server, IIS 6, for
seven months. Today, suddenly, the application raised an error entitled
"Server too busy". Searching the event logs I found an entry for:
Event ID: 2262
Description: ISAPI
'C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll' reported
itself as unhealthy for the following reason: 'Deadlock detected'.
What kind of deadlock can it be?
I followed the steps from the MS article
http://support.microsoft.com/defaul...kb;en-us;828222 , but it does
not clarified my doubts. I read the other links pointed by the article but
what exactly does the OrphanWorkerProcess parameter do for me?
TIA,
Erik CruzIf you're doing any multithreading, that would be the #1 suspect.
Also, you might check to be sure you're calling Application.Lock() before
setting any application variables and Application.Unlock() afterward.
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Erik Cruz" <erikacf.spammers.out@.antares.com.br> wrote in message
news:el7tLJWFFHA.1924@.TK2MSFTNGP14.phx.gbl...
> Hi.
> I have an asp.net application running under Windows 2003 Server, IIS 6,
> for seven months. Today, suddenly, the application raised an error
> entitled "Server too busy". Searching the event logs I found an entry for:
> Event ID: 2262
> Description: ISAPI
> 'C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll' reported
> itself as unhealthy for the following reason: 'Deadlock detected'.
> What kind of deadlock can it be?
> I followed the steps from the MS article
> http://support.microsoft.com/defaul...kb;en-us;828222 , but it
> does not clarified my doubts. I read the other links pointed by the
> article but what exactly does the OrphanWorkerProcess parameter do for me?
> TIA,
> Erik Cruz
>
OrphanWorkerProcess tells IIS not to shutdown the worker process. IIS
will leave the process running but won't send the worker process any
more requests to execute. This setting lets the process stay in memory
so you can jump in with tools like a debugger and see where the
deadlock is occuring.
Scott
http://www.OdeToCode.com/blogs/scott/
On Fri, 18 Feb 2005 00:35:48 -0300, "Erik Cruz"
<erikacf.spammers.out@.antares.com.br> wrote:

>Hi.
>I have an asp.net application running under Windows 2003 Server, IIS 6, for
>seven months. Today, suddenly, the application raised an error entitled
>"Server too busy". Searching the event logs I found an entry for:
>Event ID: 2262
>Description: ISAPI
>'C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll' reported
>itself as unhealthy for the following reason: 'Deadlock detected'.
>What kind of deadlock can it be?
>I followed the steps from the MS article
>http://support.microsoft.com/defaul...kb;en-us;828222 , but it doe
s
>not clarified my doubts. I read the other links pointed by the article but
>what exactly does the OrphanWorkerProcess parameter do for me?
>TIA,
>Erik Cruz
>
Hi Scott.
Thanks for the information.
The article shows how to enable OrphanWorkerProcess. Is it enough to set it
to False in order to disable it? Will the other parameters be reset
automatically or do I need to change the values manually?
TIA,
Erik Cruz
"Scott Allen" <scott@.nospam.odetocode.com> wrote in message
news:u4tb11pugib2otm9jhmb8hf7lfj95k2o56@.
4ax.com...
> OrphanWorkerProcess tells IIS not to shutdown the worker process. IIS
> will leave the process running but won't send the worker process any
> more requests to execute. This setting lets the process stay in memory
> so you can jump in with tools like a debugger and see where the
> deadlock is occuring.
> --
> Scott
> http://www.OdeToCode.com/blogs/scott/
> On Fri, 18 Feb 2005 00:35:48 -0300, "Erik Cruz"
> <erikacf.spammers.out@.antares.com.br> wrote:
>
>
Hi Erik:
Yes, if you set to false the other parameters / actions will not be
taken.
Scott
http://www.OdeToCode.com/blogs/scott/
On Sun, 6 Mar 2005 23:51:43 -0300, "Erik Cruz"
<erikacf.spammers.out@.antares.com.br> wrote:

>Hi Scott.
>Thanks for the information.
>The article shows how to enable OrphanWorkerProcess. Is it enough to set it
>to False in order to disable it? Will the other parameters be reset
>automatically or do I need to change the values manually?
>TIA,
>Erik Cruz
>

Server Unavailable

Hi everybody,
I've got some big problems today. I turned on my web server this morning
and tried to access my site, and I got the following error in my browser:

Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web browser
to retry your request.
Administrator Note: An error message detailing the cause of this specific
request failure can be found in the application event log of the web server.
Please review this log entry to discover what caused this error to occur.

So I check the event log and there are 2 errors logged there:
aspnet_wp.exe could not be launched because the username and/or password
supplied in the processModel section of the config file are invalid

AND

aspnet_wp.exe could not be started. The error code for the failure is
80004005. This error can be caused when the worker process account has
insufficient rights to read the .NET Framework files. Please ensure that the
..NET Framework is correctly installed and that the ACLs on the installation
directory allow access to the configured account.

I looked at a couple dozen web sites trying to figure out what could be
wrong, but none of the solutions offered worked. I've tried reinstalling
ASP.net with and without first deleting the ASPNET user. I've changed the
username and password in the process model section of machine.config to
another local user. I've done pretty much everything anyone can tell me
thus far. The server is not a domain controller. The really weird thing is
that all of this was working fine when I left the office last night, and now
it doesn't work.
Anyone have any ideas? Please help.

Thanks, MattWe run into this problem quite a bit. For SOME reason (still not sure why), the following solution works every time:

1.) Go to Control Panel > Admin > Servives
2.) Select the ASPNET State Service
3.) Change the logon to the system account (click apply)
4.) Change the logon back to the ASPNET and clear the password (click apply)

Should be all set from there.

"Matt MacDonald" wrote:

> Hi everybody,
> I've got some big problems today. I turned on my web server this morning
> and tried to access my site, and I got the following error in my browser:
> Server Application Unavailable
> The web application you are attempting to access on this web server is
> currently unavailable. Please hit the "Refresh" button in your web browser
> to retry your request.
> Administrator Note: An error message detailing the cause of this specific
> request failure can be found in the application event log of the web server.
> Please review this log entry to discover what caused this error to occur.
> So I check the event log and there are 2 errors logged there:
> aspnet_wp.exe could not be launched because the username and/or password
> supplied in the processModel section of the config file are invalid
> AND
> aspnet_wp.exe could not be started. The error code for the failure is
> 80004005. This error can be caused when the worker process account has
> insufficient rights to read the .NET Framework files. Please ensure that the
> ..NET Framework is correctly installed and that the ACLs on the installation
> directory allow access to the configured account.
> I looked at a couple dozen web sites trying to figure out what could be
> wrong, but none of the solutions offered worked. I've tried reinstalling
> ASP.net with and without first deleting the ASPNET user. I've changed the
> username and password in the process model section of machine.config to
> another local user. I've done pretty much everything anyone can tell me
> thus far. The server is not a domain controller. The really weird thing is
> that all of this was working fine when I left the office last night, and now
> it doesn't work.
> Anyone have any ideas? Please help.
> Thanks, Matt
>

Server Unavailable

Hi everybody,
I've got some big problems today. I turned on my web server this morning
and tried to access my site, and I got the following error in my browser:
Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web browser
to retry your request.
Administrator Note: An error message detailing the cause of this specific
request failure can be found in the application event log of the web server.
Please review this log entry to discover what caused this error to occur.
So I check the event log and there are 2 errors logged there:
aspnet_wp.exe could not be launched because the username and/or password
supplied in the processModel section of the config file are invalid
AND
aspnet_wp.exe could not be started. The error code for the failure is
80004005. This error can be caused when the worker process account has
insufficient rights to read the .NET Framework files. Please ensure that the
.NET Framework is correctly installed and that the ACLs on the installation
directory allow access to the configured account.
I looked at a couple dozen web sites trying to figure out what could be
wrong, but none of the solutions offered worked. I've tried reinstalling
ASP.net with and without first deleting the ASPNET user. I've changed the
username and password in the process model section of machine.config to
another local user. I've done pretty much everything anyone can tell me
thus far. The server is not a domain controller. The really weird thing is
that all of this was working fine when I left the office last night, and now
it doesn't work.
Anyone have any ideas? Please help.
Thanks, MattWe run into this problem quite a bit. For SOME reason (still not sure why),
the following solution works every time:
1.) Go to Control Panel > Admin > Servives
2.) Select the ASPNET State Service
3.) Change the logon to the system account (click apply)
4.) Change the logon back to the ASPNET and clear the password (click apply)
Should be all set from there.
"Matt MacDonald" wrote:

> Hi everybody,
> I've got some big problems today. I turned on my web server this mornin
g
> and tried to access my site, and I got the following error in my browser:
> Server Application Unavailable
> The web application you are attempting to access on this web server is
> currently unavailable. Please hit the "Refresh" button in your web browse
r
> to retry your request.
> Administrator Note: An error message detailing the cause of this specific
> request failure can be found in the application event log of the web serve
r.
> Please review this log entry to discover what caused this error to occur.
> So I check the event log and there are 2 errors logged there:
> aspnet_wp.exe could not be launched because the username and/or password
> supplied in the processModel section of the config file are invalid
> AND
> aspnet_wp.exe could not be started. The error code for the failure is
> 80004005. This error can be caused when the worker process account has
> insufficient rights to read the .NET Framework files. Please ensure that t
he
> ..NET Framework is correctly installed and that the ACLs on the installati
on
> directory allow access to the configured account.
> I looked at a couple dozen web sites trying to figure out what could be
> wrong, but none of the solutions offered worked. I've tried reinstalling
> ASP.net with and without first deleting the ASPNET user. I've changed the
> username and password in the process model section of machine.config to
> another local user. I've done pretty much everything anyone can tell me
> thus far. The server is not a domain controller. The really weird thing
is
> that all of this was working fine when I left the office last night, and n
ow
> it doesn't work.
> Anyone have any ideas? Please help.
> Thanks, Matt
>
>

Server trouble

This morning I have problems opening my VS projects and I can't make a new one. I get this error:

HTTP Error 404: Unable to create Web project <project name>
Unable to create Web project 'WebApplication'. The file path '<file path>' does not correspond to the URL 'http//localhost/<project name>'. The two need to map to the same server location. HTTP Error 404: Object Not Found. For more information, see Unable to Locate Object on Web Server.

What's going on? I haven't changed server settings or something like that.
I use XP Proff.It sounds like IIS may be having problems.

I would try rebooting and if that doesn't work I would try reinstalling IIS through the Control Panel->Add/Remove Programs->Add/Remove Windows Components. If that fails, reinstall VS. Other than that I don't know.
Now I've solved the problem running
C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis -i

Very strange :confused: :confused: :confused:

server unavailable error message

i get thius error msg when i run my aspx page
Server Application Unavailable
The web application you are attempting to access on this
web server is currently unavailable. Please hit
the "Refresh" button in your web browser to retry your
request.

Administrator Note: An error message detailing the cause
of this specific request failure can be found in the
application event log of the web server. Please review
this log entry to discover what caused this error to
occur.
and when i viwew evernt log
i see the following msg:

Event Type:Error
Event Source:ASP.NET 1.1.4322.0
Event Category:None
Event ID:1084
Date:10/27/2003
Time:9:19:58 AM
User:N/A
Computer:SHAHZADPC
Description:
aspnet_wp.exe could not be started. The error code for the
failure is 80004005. This error can be caused when the
worker process account has insufficient rights to read
the .NET Framework files. Please ensure that the .NET
Framework is correctly installed and that the ACLs on the
installation directory allow access to the configured
account.

wat shud i do
it was woeking well previously,suddenly this error has
started teasing mecheck out this faq
http://www.extremeexperts.com/Net/F...navailable.aspx

--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com

"shahzad" <khuwajashahzad@.hotmail.com> wrote in message
news:048701c39c41$c0886f40$a101280a@.phx.gbl...
> i get thius error msg when i run my aspx page
> Server Application Unavailable
> The web application you are attempting to access on this
> web server is currently unavailable. Please hit
> the "Refresh" button in your web browser to retry your
> request.
> Administrator Note: An error message detailing the cause
> of this specific request failure can be found in the
> application event log of the web server. Please review
> this log entry to discover what caused this error to
> occur.
> and when i viwew evernt log
> i see the following msg:
> Event Type: Error
> Event Source: ASP.NET 1.1.4322.0
> Event Category: None
> Event ID: 1084
> Date: 10/27/2003
> Time: 9:19:58 AM
> User: N/A
> Computer: SHAHZADPC
> Description:
> aspnet_wp.exe could not be started. The error code for the
> failure is 80004005. This error can be caused when the
> worker process account has insufficient rights to read
> the .NET Framework files. Please ensure that the .NET
> Framework is correctly installed and that the ACLs on the
> installation directory allow access to the configured
> account.
> wat shud i do
> it was woeking well previously,suddenly this error has
> started teasing me
Did you recently apply an IE security update to XP?

http://www.asp.net/faq/ms03-32-Issue.aspx

"shahzad" <khuwajashahzad@.hotmail.com> wrote in message
news:048701c39c41$c0886f40$a101280a@.phx.gbl...
> i get thius error msg when i run my aspx page
> Server Application Unavailable
> The web application you are attempting to access on this
> web server is currently unavailable. Please hit
> the "Refresh" button in your web browser to retry your
> request.
> Administrator Note: An error message detailing the cause
> of this specific request failure can be found in the
> application event log of the web server. Please review
> this log entry to discover what caused this error to
> occur.
> and when i viwew evernt log
> i see the following msg:
> Event Type: Error
> Event Source: ASP.NET 1.1.4322.0
> Event Category: None
> Event ID: 1084
> Date: 10/27/2003
> Time: 9:19:58 AM
> User: N/A
> Computer: SHAHZADPC
> Description:
> aspnet_wp.exe could not be started. The error code for the
> failure is 80004005. This error can be caused when the
> worker process account has insufficient rights to read
> the .NET Framework files. Please ensure that the .NET
> Framework is correctly installed and that the ACLs on the
> installation directory allow access to the configured
> account.
> wat shud i do
> it was woeking well previously,suddenly this error has
> started teasing me
i have made the changes but im still geting the smae msg
i have win2K profesional wid VS.net 2003
plz temme how can i remove asp.net
i want to reinstall it
i have reinstalled the vs.net
but there is nothing different
i have tried ur articles as well

>--Original Message--
>Did you recently apply an IE security update to XP?
>http://www.asp.net/faq/ms03-32-Issue.aspx
>
>"shahzad" <khuwajashahzad@.hotmail.com> wrote in message
>news:048701c39c41$c0886f40$a101280a@.phx.gbl...
>> i get thius error msg when i run my aspx page
>> Server Application Unavailable
>> The web application you are attempting to access on this
>> web server is currently unavailable. Please hit
>> the "Refresh" button in your web browser to retry your
>> request.
>>
>> Administrator Note: An error message detailing the cause
>> of this specific request failure can be found in the
>> application event log of the web server. Please review
>> this log entry to discover what caused this error to
>> occur.
>> and when i viwew evernt log
>> i see the following msg:
>>
>> Event Type: Error
>> Event Source: ASP.NET 1.1.4322.0
>> Event Category: None
>> Event ID: 1084
>> Date: 10/27/2003
>> Time: 9:19:58 AM
>> User: N/A
>> Computer: SHAHZADPC
>> Description:
>> aspnet_wp.exe could not be started. The error code for
the
>> failure is 80004005. This error can be caused when the
>> worker process account has insufficient rights to read
>> the .NET Framework files. Please ensure that the .NET
>> Framework is correctly installed and that the ACLs on
the
>> installation directory allow access to the configured
>> account.
>>
>> wat shud i do
>> it was woeking well previously,suddenly this error has
>> started teasing me
>>
>>
>>
>
>.
i have fixed it by garace of ALLAH
ihave done the following steps
1)create accnt named aspdemo
2)added this users group
3)gave it "log on as batch job" right
4)add this accnt and passowrd in processmodel section of
machine.config file
5)restarted the PC
u always restart ur machine ater making changes in
machine.config in order for these changes to be efective

>--Original Message--
>i get thius error msg when i run my aspx page
>Server Application Unavailable
>The web application you are attempting to access on this
>web server is currently unavailable. Please hit
>the "Refresh" button in your web browser to retry your
>request.
>Administrator Note: An error message detailing the cause
>of this specific request failure can be found in the
>application event log of the web server. Please review
>this log entry to discover what caused this error to
>occur.
> and when i viwew evernt log
>i see the following msg:
>Event Type:Error
>Event Source:ASP.NET 1.1.4322.0
>Event Category:None
>Event ID:1084
>Date:10/27/2003
>Time:9:19:58 AM
>User:N/A
>Computer:SHAHZADPC
>Description:
>aspnet_wp.exe could not be started. The error code for
the
>failure is 80004005. This error can be caused when the
>worker process account has insufficient rights to read
>the .NET Framework files. Please ensure that the .NET
>Framework is correctly installed and that the ACLs on the
>installation directory allow access to the configured
>account.
>wat shud i do
>it was woeking well previously,suddenly this error has
>started teasing me
>
>.