ASP.Net: how to install the QuickStart tutorials with .Net Framework SDK
-
At one point, I had the QuickStart tutorials installed correctly on my Windows 2000 Server machine, and I could access them by going to, for example: http://bennett2win2k/quickstart/aspplus/samples/portal/VB/default.aspx But then I had to re-install Windows 2000 Server on that machine. After I did, I reinstalled all components of Visual Basic .Net from the CDs, including the .NET Framework SDK, whose description in the install wizard says "The SDK also includes tools, QuickStarts, tutorials, and samples." But after I installed it, the URL above still would not work. How do I get the URLs for the QuickStart tutorials working again? I realized that the C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Samples\QuickStart directory had not been automatically Web-shared, so I made it a Web share with the name "quickstart". After I did that, I could view URLs such as this with no errors: http://bennett2win2k/quickstart/aspplus/doc/portalapp.aspx but when I try to view the sample application at: http://bennett2win2k/quickstart/aspplus/samples/portal/VB/default.aspx I get the error: >>>>> Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. Source Error: Line 12: <allow users="*" /> <!-- Allow all (other) users --> Line 13: </authorization> Line 14: <authentication mode="Forms" /> Line 15: Line 16: <httpModules> >>>>> If I go to Internet Services Manager and right-click the listing for "quickstart" under "Default Web site", it says "Application name: quickstart", among other settings. So I don't know if the error has something to do with the "virtual directory not being configured as an application in IIS". I seem to remember that the last time I set up the QuickStart tutorials on the Windows 2000 Server machine, I didn't have to mess around with configuring any virtual directories. That leaves me to think that the QuickStart tutorials, and the virtual directories they reside in, were originally configured by some installation program. What is it that you have to install to get the QuickStart tutorials set up and working? I also tried downloading and installing the full .Net Framework 1.1 and .Net Framework SDK 1.1 from www.asp.net, but that didn't work either, i.e. the C:\Program Files\Microsoft.NET\SDK\v1.1\QuickStart directory that got created, was not automatically Web-shared, and when I did Web-share it, I got the same error as above. -Bennett
-
Answer:
Okay - the reason you're getting the error that the personalization dll is missing is that the samples have not yet been compiled. I've listed the proper procedure for compiling and setting up these samples below: To reinstall the virtual directories correctly, you need to run the ConfigSamples.exe program from the quickstart directory. You can get it by browsing to this page (which is also available in your Start Menu under "Microsoft .NET Framework SDK" as "Samples and QuickStart Tutorials": C:\Program Files\Microsoft Visual Studio.NET\FrameworkSDK\Samples\StartSamples.htm Browse down to the part of the page that says: Step 2: Set up the QuickStarts Because the QuickStarts demonstrate a wide variety of the .NET Framework technologies, some machine configuration is required. The link above configures your machine to run the QuickStarts. This includes importing four sample databases into the MSDE database server, creating several Internet Information Services (IIS) virtual directories, and compiling several samples. In order to complete these operations, you must be logged in using an account with Administrator privileges. For a complete list of tasks accomplished in this step, including manual instructions for configuring the QuickStarts, see the Configuration Details document. And click on the link it gives. Run the program that starts (as a user with Admin privileges) and you should have a correctly-configured quickstart system, as you had before.
bennetthaselton-ga at Google Answers Visit the source
Related Q & A:
- How can I allow user to create posts in website using ASP.NET?Best solution by Programmers
- How to Undo previous action in asp.net?Best solution by forums.asp.net
- How to Search using jQuery ASP.Net?Best solution by Stack Overflow
- How to Play Audio files in ASP.NET?Best solution by Stack Overflow
- How to create complete .exe in WPF .net framework application?Best solution by Programmers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.