Saturday, March 31, 2012
Server side error
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
Thursday, March 29, 2012
Server SIde Validation Issue
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 unavailable error message
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
>
>.
Saturday, March 24, 2012
Server Unavailable message
locally and has a user that has a local Access database that launches the ap
p
from a URL. They are receiveing the following error:
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.What does the error logged to the
Application Event Log say ?
Juan T. Llibre
ASP.NET MVP
===========
"Steven Babb" <StevenBabb@.discussions.microsoft.com> wrote in message
news:1D03B110-B0C9-4A8F-AEC3-FCA9F5A24879@.microsoft.com...
>I have taken over responsibilities for a .NET app that runs on IIS Server
> locally and has a user that has a local Access database that launches the
> app
> from a URL. They are receiveing the following error:
> 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.
>
Server Unavailable message
locally and has a user that has a local Access database that launches the app
from a URL. They are receiveing the following error:
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.What does the error logged to the
Application Event Log say ?
Juan T. Llibre
ASP.NET MVP
===========
"Steven Babb" <StevenBabb@.discussions.microsoft.com> wrote in message
news:1D03B110-B0C9-4A8F-AEC3-FCA9F5A24879@.microsoft.com...
>I have taken over responsibilities for a .NET app that runs on IIS Server
> locally and has a user that has a local Access database that launches the
> app
> from a URL. They are receiveing the following error:
> 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.
Server Unavailable Error Message.
It appears to be some kind of odbc error.. Here are the details:
In the event log it says:
1. aspnet_wp.exe (PID: 7012) stopped unexpectedly.
2. The system has called a custom component and that component has failed and generated an exception. This indicates a problem with the custom component. Notify the developer of this component that a failure has occurred and provide them with the information below.
Component Prog ID: 0[ODBC][Env 164f14e8]
Method Name: IDispenserDriver::CreateResource
Process Name: aspnet_wp.exe
The serious nature of this error has caused the process to terminate.
Exception: C0000005
Address: 0x1F7D5694
Call Stack:
odbc32!CloseODBCPerfData + 0x32E
Does anyone know how I might try to correct this.
ThanksCould you post some code to give us a better idea of what you are doing.
Thanks
Greg
Greg,
I am connection to db2 an filling retrieveing some data.
Here is my code.
Try
Dim str_Db2ConnString As String = "dsn=dev04;UID=ddb2btch;PWD=Db2$btch#02;"
Dim connDb2 As New Odbc.OdbcConnection(str_Db2ConnString)Dim str_sql As String = "SELECT b.cust_num, b.credit_line_num, a.cust_short_name, b.usd_util_amt, b.activation_date FROM db2ib.ibtcust a, db2ib.ibtcred b where a.cust_num = b.cust_num order by a.cust_short_name"
' OdbcDataAdapter Represents a set of data commands and a database connection that are used to fill the DataSet and update the data source.
Dim myDA As System.Data.Odbc.OdbcDataAdapter = New System.Data.Odbc.OdbcDataAdapter(str_sql, connDb2)' the datset is what holds the results from the database.
Dim myDS As DataSet = New DataSet
myDA.Fill(myDS, "Custs")
Dim objTable As DataTable
Dim objRows(), objRow As DataRow
objTable = myDS.Tables("Custs")
'objRows = objTable.Select("cust_num = '254038'")
objRows = objTable.Select()
Dim iSub3 As IntegerResponse.Write("Data from Db2" & "<br>")
For Each objRow In objRows
Response.Write(iSub3 & " & Cust_Num = " & objRow.Item(0) & "<br>")
iSub3 = iSub3 + 1
Next' Try to load a second sql resultset into the dataset.
str_sql = "SELECT ibs_branch, short_name from db2ib.ibtbrch order by ibs_branch"' OdbcDataAdapter Represents a set of data commands and a database connection that are used to fill the DataSet and update the data source.
Dim myDA2 As System.Data.Odbc.OdbcDataAdapter = New System.Data.Odbc.OdbcDataAdapter(str_sql, connDb2)' the datset is what holds the results from the database.
'Dim myDS2 As DataSet = New DataSet
myDA2.Fill(myDS, "Branches")
'Dim objTable As DataTable
'Dim objRows(), objRow As DataRow
objTable = myDS.Tables("Branches")
objRows = objTable.Select()
'Response.Write("myDs.Tables.Count = " & myDS.Tables(0).TableName & "<br>")
iSub3 = 1
For Each objRow In objRows
Response.Write(iSub3 & " " & objRow.Item(0) & "<br>")
iSub3 = iSub3 + 1
NextmyDS.Dispose()
myDA.Dispose()
myDA2.Dispose()connDb2.Close()
connDb2 = NothingCatch MyOdbcException As OdbcException
Dim i As Integer
Response.Write(MyOdbcException.ToString)
Catch MyException As Exception
Response.Write(MyException.ToString)
Catch SysException As NullReferenceException
Response.Write(SysException.ToString)End Try
Thanks,
Brian