|
When I Debug any ASP.NET Applicaion 1.1, It is unable to Debug with the message below:
"Error while trying to run project: Unable to start debugging on the web server"
I have checked all of guides below however all of it not solve my problem, However I can Debug any ASP.NET Application 2.0, I found that When I have installed Visual Studio 2005, I unable to Debug any ASP.NET Application 1.1
Are there any conflict?
How can I do to Debug ASP.NET 1.1 ???
Please help me!!!
Thanks Alot
Things to Check
If you get an "Unable to start debugging on the Web server" error, try checking the following things:
* Are you running a version of Windows that allows the Visual Studio debugger to automatically attach to a Web application? If not, you need to launch the application without debugging and manually attach to it. (For more information, see Manually Attaching and ASP.NET Debugging: System Requirements.)
* Does your Web application have a Web.config file?
o Does the Web.config file enable debug mode) by setting the debug attribute to true? For more information, see Debug Mode in ASP.NET Applications.
o Does the Web.config file contain any syntax errors? You can check for syntax errors by running the Web application without debugging. (From the Debug menu, choose Start Without Debugging.) If there are syntax errors in Web.config, detailed information will be displayed.
* You need to be a member of the Debugger Users group or an administrator if the ASP.NET worker process runs under your own user account.
* You need to be a member of the Administrators group if the ASP.NET worker process runs under any other user account besides your own.
* Did you create the project by specifying a specific IP address (100.20.300.400, for example)? Debugging a Web server requires NTLM authentication. By default, IP addresses are assumed to be part of the Internet, and NTLM authentication is not done over the Internet. To correct this problem:
o When creating the project, specify the name of the machine on your intranet.
-or-
o Add the IP address (http://100.20.300.400) to the list of trusted sites on your computer. (From the Internet Explorer Tools menu, choose Internet Options, and then select the Security tab).
* Does the machine running IIS server have Visual Studio .NET Remote Components installed?
* Was IIS installed on the local machine (the machine running Visual Studio .NET) after Visual Studio .NET was installed? IIS should be installed before Visual Studio .NET. If it was installed afterwards, you may need to repair the .NET Framework.
To repair the .NET Framework
o Insert the Visual Studio .NET disc and enter as one line at the command line:
<dvd drive="">:\wcu\dotNetFramework\dotnetfx.exe /t:c:\temp
/c:"msiexec.exe /fvecms c:\temp\netfx.msi"
—or—
Insert the Visual Studio .NET Requirements disc and enter as one line at the command line:
<cd drive="">:\dotNetFramework\dotnetfx.exe /t:c:\temp
/c:"msiexec.exe /fvecms c:\temp\netfx.msi"
* Is the URL for the project start page properly specified? Are the extension and project directory correct?
* Are the IIS security settings set up properly? To verify this, check the Default Web Site settings.
To check IIS security settings for the Default Web Site
1. From the Start menu, choose Programs, then Administrative Tools, and click Internet Services Manager (Windows 2000) or Internet Information Services (Windows XP).
2. In the Internet Services Manager or Internet Information Services dialog box, click the tree control for your machine. In the Web Sites folder, find Default Web Site.
3. Right-click Default Web Site and choose Properties.
4. In the Default Web Site Properties window, select the Directory Security tab and click Edit.
5. In the Authentication Methods dialog box, select Anonymous Access and Integrated Windows Authentication (if not already selected).
6. Click OK to close the Internet Services Manager or Internet Information Services dialog box.
|
|
|
|
|
Hi
mesage indicates that the issue is with the IIS.
Try Reseting the IIS by typing "iisreset" in the command prompt.... Even if the issue continues, u may reiinstall the IIS and check if it helps...
regds
rijesh
|
|
|
|
|
I am going back to school and find myself constantly searching for information. Currently ASP.NET development, if you know of some good links to the information, I would appretiate it.
Some that I have found userful so far:
Event Handling in ASP.NET[^]
Build Your Own ASP.NET Website...[^]
INTP
"Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra
|
|
|
|
|
|
Thanks, I was hoping for sights that are harder to find, like the ones I listed. I tend to start with CodeProject and then go from there. MSDN is always an excellent source of information on Windows related programming issues. I should have placed a ‘*’ next to the second link, because that was the one that helped the most with figuring out some problems.
My main goal is to save time in finding research materials, and people keep referencing good sights that I did not find during my searches.
INTP
"Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra
|
|
|
|
|
John R. Shaw wrote: My main goal is to save time in finding research materials
For the first two sites, I'd normally use the search functionality of the site to look for what I want to know. For the online MSDN, I'd better use the king Google to search on this site as the search of MSDN is not as good as the site. Also, as I'm familiar with the structure of the MSDN (both local and online), I can quickly narrow the scope of my searching, for example with the ASP.NET[^] from the left pane. As you already know that, with VS 2005 you have more options to do your search quickly with the Community menu item.
|
|
|
|
|
Ya, I use Google a lot. The MSDN has tons of good information, but finding it is the trick. I have already recorded the location of the ASP.NET information sections I will probably need.
I just discovered that one of the CodeProject partners is ASPAlliance, which looks like a good jumping off point for my research.
Thanks again!
INTP
"Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra
|
|
|
|
|
I have some authentication issue while running my ASP.net application in the 'Mozilla' WebBrowser. Actually, the authentication is done by using the ADS and the pages that retrieve the ADSI ID displays an error message as "[COMException (0x80072020): An operations error occurred]"..... The same pages loads and works fine with the IE.... Authentication is set to "Basic Authentication". Please do help, I am very new to this... I have done a long search through google but coldnt find a solution. Hope you will help me out....
Any help will be much appriciated..
Thanks in advance
Rijesh
|
|
|
|
|
Please help... i'm still waiting...
|
|
|
|
|
Hi all.... it is very urgent 4 me.... if anyone can help me out pls....
I am waiting 4 ur responses....
|
|
|
|
|
rijjjesh wrote: Hi all.... it is very urgent 4 me....
If it is very urgent "four" you then perhaps you would consider paying some money to Microsoft Support or other such organisation for a faster response. The people here are helping out of the kindness of their hearts and not because they have to help.
|
|
|
|
|
Hi all,
I really respect the people who r here helping out without being payed. I am really ashamed of myself and hereby apologising for my comments.
I understand and accept my mistake.....
The reason I was in hurry coz I have posted the same in many of the sites n no one came out with a response... It is been months by now I am waiting....The first response i got for this question is from "PLAYBYRULES" to be patient... I am tired... Yes, if I dont find a response frm here I will go for a paid one...
Once again sorry...
AND TO MY DEAR PLAYBYRULES.... U HAVE NO RIGHT TO SPEAK ANYTHING TO ME COZ U NEVER DID PROVIDED A SOLUTION OUT OF UR 26 RESPONSES TO THIS COMMUNITY..... MY DEAR MEMBERS, JUST CHECK ON THE LINK BELOW TO IDENTIFY THE WAY THIS GENTLEMAN HAS RESPONDED TO THE PEOPLE WHO CAME HERE FOR CLEARING THE DOUBTS...
http://www.codeproject.com/script/comments/all_comments.asp?mode=all&userid=3147371
DONT'T FORGET TO POST A COMMENT ONCE YOU READ ABOUT HIS ACTIVITIES....
regds
Rijz
-- modified at 8:37 Monday 17th July, 2006
|
|
|
|
|
rijz wrote: MY DEAR MEMBERS, JUST CHECK ON THE LINK BELOW TO IDENTIFY THE WAY THIS GENTLEMAN HAS RESPONDED TO THE PEOPLE WHO CAME HERE FOR CLEARING THE DOUBTS...
Shhh.... People are working....
Seriously - You were increadibly impatient to make the comments you did after only an hour and a half.
rijz wrote: AND TO MY DEAR PLAYBYRULES.... U HAVE NO RIGHT TO SPEAK ANYTHING TO ME COZ U NEVER DID PROVIDED A SOLUTION OUT OF UR 26 RESPONSES TO THIS COMMUNITY.....
Do I have a sufficient number of responses to be an acceptable commentator on this?
rijz wrote: DONT'T FORGET TO POST A COMMENT ONCE YOU READ ABOUT HIS ACTIVITIES....
Comment posted. Have a nice day!
|
|
|
|
|
rijjjesh wrote: Please help... i'm still waiting...
You've been waiting for roughly 90 minutes at this point. Have some patience. The people who answer on this forum to do freely and voluntarily. They do not get paid for helping, they do so in their free time because they want to help. Treat these people with respect!
If you want a faster result then may I suggest a paid service where you pay money for someone to give you a faster response. If you want it for free then you have to wait until someone can help you. And it does not help your case when you make ungrateful comments like "i'm still waiting..."
|
|
|
|
|
Hi all,
I really respect the people who r here helping out without being payed. I am really ashamed of myself and hereby apologising for my comments.
I understand and accept my mistake.....
The reason I was in hurry coz I have posted the same in many of the sites n no one came out with a response... It is been months by now I am waiting....The first response i got for this question is from "PLAYBYRULES" to be patient... I am tired... Yes, if I dont find a response frm here I will go for a paid one...
Once again sorry...
AND TO MY DEAR PLAYBYRULES.... U HAVE NO RIGHT TO SPEAK ANYTHING TO ME COZ U NEVER DID PROVIDED A SOLUTION OUT OF UR 26 RESPONSES TO THIS COMMUNITY..... MY DEAR MEMBERS, JUST CHECK ON THE LINK BELOW TO IDENTIFY THE WAY THIS GENTLEMAN HAS RESPONDED TO THE PEOPLE WHO CAME HERE FOR CLEARING THE DOUBTS...
http://www.codeproject.com/script/comments/all_comments.asp?mode=all&userid=3147371
DONT'T FORGET TO POST A COMMENT HERE ONCE YOU READ ABOUT HIS ACTIVITIES....
regds
Rijz
|
|
|
|
|
rijz wrote: DONT'T FORGET TO POST A COMMENT HERE ONCE YOU READ ABOUT HIS ACTIVITIES....
His activities are perfectly justified! For discouraging txtspk on the forums I could almost kiss him/her! I'll admit I dont see too many technical answers, but I also dont see him being rude and abusive as you have just been above
You have:
Repeatidly posted how "urgent" this is.
posted entire sentences in UPPER CASE (which online is akin to SHOUTING)
Been rude and abusive to another poster
Not even had the decency to put a clickable link when you want to refer people to another page.
---
How to get answers to your questions[^]
|
|
|
|
|
There are a couple of things needing to be clarified:
+ Which authentication mode are you using? More information about your authentication setting could help.
+ What does your sample code look like?
+ What is the actual error as the "An operations error occurred" does not give much information?
|
|
|
|
|
Thanks alot for helping me out...
I will clarify my question. I am very much new n young to this field.... so, I'm not sure if I can explain it clearly.
I am using the "Windows" Authentication mode
In the web.config file the mode is set to
<authentication mode="Windows">
<identity impersonate="true">
as well as
<authorization>
<allow users="*">
<deny users="?">
In the IIS, the authentication method is set as "Integrated Windows Authentication".
.....................................
Here is the code that is throwing errors while running the application in "Mozilla" browser.
public static string getADSILoginName(string userName,string filter,string keyName)
{
string dName=ConfigurationSettings.AppSettings["domainName"];
string appPath;
appPath = "LDAP://" + dName;
DirectoryEntry entry = null;
entry = new DirectoryEntry(appPath);
DirectorySearcher getSearcher = new DirectorySearcher(entry);
getSearcher.Filter = "("+filter+"=" + userName + ")";
try
{
foreach(SearchResult result in getSearcher.FindAll())
{
DirectoryEntry dirEntry = result.GetDirectoryEntry();
foreach(string key in dirEntry.Properties.PropertyNames)
{
foreach( object propVal in dirEntry.Properties[key] )
{
if(key == keyName)
{
return Convert.ToString(propVal);
}
}
}
}
}
catch(Exception ex)
{
throw(ex);
}
return "";
}
............................................
Here is the exact error message
An operations error occurred
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException: An operations error occurred
Source Error:
Line 463: catch(Exception ex)
Line 464: {
Line 465: throw(ex);
Line 466: }
Line 467: return "";
.....................................
I am not sure if I have made it clear...
Thanks & regards
rijz
-- modified at 7:34 Monday 17th July, 2006
|
|
|
|
|
How do you call the getADSILoginName method? Which value do you pass to the method in the userName parameter? Here, you are using the Windows authentication mode, so I guess that you may want to authenticate the user based on the log-on account againts the Active Directoty of the specified domain. And the user which you may use to pass in to the method is the HttpContext.Current.User (or use the WindowsIdentity to get the current identity). So in the case of Mozilla, you may try to debug your application, check the username value and compare it with the value when IE is used (I guess it's empty in the case of Mozilla). Basically, when you configure to use the Integrated Windows authentication at the IIS, the IE can automatically sends the current log-on account to the server for the authentication, but it won't happen with the Mozilla, and it requires you to configure in the user config file of the browser. If this is the case, you can see this site[^] as an example on how to set it.
Btw, you need to encrypt the < and > or check the "..." checkbox when you post a message as I couldn't see the authentication and authorization settings.
|
|
|
|
|
You are my hero!!!! You are great!!!!
Once I changed the user config file of the browser, the issue was resolved.
I am really thankful to you and do not know how to express my sincere thanks to my dear dot.net specialist.
Please do continue this good work....
One more question: My application is on a remote machine and if I want to access it through the network, what should I specify instead of "localhost" in the user config file (Mozilla). For example, the server name is "jack" in which the application is installed and if i want to access the application throughout the network, what should I do? I tried "remotehost", but did not help.
Is there any other solution to change the browser settings during runtime? I meant, coding in the .net page to change the user config file of the browser.
God bless
Thanks & thousands of thanks
Truly a fan of yours....
Rijz
-- modified at 0:46 Tuesday 18th July, 2006
|
|
|
|
|
rijjjesh wrote: Once I changed the user config file of the browser, the issue was resolved.
Glad to hear it's working for you .
rijjjesh wrote: For example, the server name is "jack" in which the application is installed and if i want to access the application throughout the network, what should I do? I tried "remotehost", but did not help.
The uri may look something like : http://jack for the entire jack server. You might also have a look at the documentation of the right version of the browser for the correct configuration.
rijjjesh wrote: Is there any other solution to change the browser settings during runtime? I meant, coding in the .net page to change the user config file of the browser.
I don't think you can programmatically set the user settings as it should belong to the user. If it's possible, then IMO there must be a hole of security there. Would you want a web page to change your configurations in your machine when you launch it in the browser?
|
|
|
|
|
Thanks once again....
1) I can run the project fine by changing the user config file to localhost as you suggested in my machine.
What should I set in the user config file of Mozilla browser(in other machine) instead of "localhost", to access the http://rijjjesh/project1/testpage.aspx without any errors from another machine?
Should I change the value or keeping it as "localhost" will work?
I want a web page to change the user configurations of the browser once it is loaded.... is it possible?
I am not sure if I have made it clear...
thanks & regds
rijz
-- modified at 4:39 Tuesday 18th July, 2006
|
|
|
|
|
Dear All,
I want to develope splitter control that gonna be use in web page.
I search through the internet but I only found the control for window.
If anybody know about it please let me know where to find that control.
Sorry for my bad English..
Thanks,
John
John
|
|
|
|
|
There are a couple of options:
+ Use frame
+ Use resizable panels, you can check out some custom controls below which may give you an idea:
Control Gallery[^]
ComponentArt[^]
John Harrison Paul wrote: Sorry for my bad English..
I'm a little bit confused as your name looks a native english name .
|
|
|
|
|
Thanks for the linke of the control.
I'm already go that links, but it is not free.
Do you know any free splitter controls.
|
|
|
|