Showing posts with label debugging. Show all posts
Showing posts with label debugging. 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 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
>
>

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

Saturday, March 24, 2012

Server.CreateObject: Making objects visible

I would like to make an DCOM-object created by an ASP page visible for debugging purposes.
For instance: I have the following code:

SET objExcel = Server.CreateObject("Excel.Application.10")
objExcel.Application.Visible = True
SET Session.Contents("myexcel") = objExcel

When I run this code, the Excel object is created and stored in a session variable for later use. However, on my machine it is not visible, although I have set the visible property to True.
I can see that the EXCEL object was created by opening in the process page of the WINDOWS Task-Manager
I tried also to Server.CreateObject several other objects with the same result: Although I have set the visible property to true they just do not show up.
What me make wondering about this is that a couple a weeks ago everything worked fine, the Server.Created objects were visible, but I must have changed something on my machine because now they remain invisible.
Does anybody has a clue on this?Just found the solution:
in the DCOM-Configuration the identity must be Interactive User (NOT user who started the application)
Already thought this was a Windows Privileges problem
I've been having the same problem - getting Excel to become visible. How do you configure the identity to be Interactive User? Is it in the dcomcnfg utility?

When I run my app, I can see EXCEL.EXE in my task manager, but it is not visible and I, too, use the visible=true setting.

It's been plaguing me for about a week now.
I'm a bit new, so go easy....

Rykri11
Yes with Windows 2000 you'll have to run dcomcnfg.exe while with WindowsXP you'll also find it at computer administration (component services)
Then you need to find your application (MS Excel) and edit the properties of this application (right-mouse click with XP, push-button with Windows 2000). On the 4th page named "identity" of the page selector you'll need to set the user to "interactive user"