473,383 Members | 1,818 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Forum for Microsoft .NET PetShop Sample

eAW
Is there any forum for Microsoft .NET Petshop sample? I have problems
running the v 3.1 sample downloaded from Microsoft.

The error message is:

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.UnauthorizedAccessException: Access to the
registry key HKEY_CLASSES_ROOT\PetShop.BLL.Account is denied.

Source File: C:\NAS\Dev\NET\PetShop\Web\ProcessFlow\CartControl ler.cs
Line: 90
Line 90: OrderInsert order = new OrderInsert();
TIA. Please reply to the group.
Nov 19 '05 #1
1 1467
This means one of two things:

1. The user account you are running under does not have rights to the
registry, or at least the registry key in question. This can be cured from
Regedt32.exe and giving rights to the account you are running under.

2. The machine.config does not allow .NET users access to the registry. This
is most common under Windows Server 2003. If so, you have to edit the
machine.config to allow this access.

NOTE: It is possible you may have to do both.
---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************

"eAW" wrote:
Is there any forum for Microsoft .NET Petshop sample? I have problems
running the v 3.1 sample downloaded from Microsoft.

The error message is:

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.UnauthorizedAccessException: Access to the
registry key HKEY_CLASSES_ROOT\PetShop.BLL.Account is denied.

Source File: C:\NAS\Dev\NET\PetShop\Web\ProcessFlow\CartControl ler.cs
Line: 90
Line 90: OrderInsert order = new OrderInsert();
TIA. Please reply to the group.

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Magesh | last post by:
Is it not possible to install PetShop 3.0 without having either SqlServer or Oracle in the local machine or a remote machine?? Cant i bypass the database installation part while installing PetShop??
1
by: eAW | last post by:
Is there any forum for Microsoft .NET Petshop sample? I have problems running the v 3.1 sample downloaded from Microsoft. The error message is: Description: An unhandled exception occurred...
1
by: Neil Stevens | last post by:
Hi, I am designing an internet forum in ASP.NET, what i have at present is a forum that uses either and Access, MSSQL Server, or MySQL Server database depending on how the forum is setup. My...
0
by: Mas Jabier | last post by:
Warnar, I cannot see your images attached. You should verify these procedures first : - Check your database server, has mspetshop db already installed ?. If not, then this is your db issue. ...
6
by: W. Jordan | last post by:
Hello Gurus, I am developing an ASP.net forum in our intranet. The design specification requires that the forum provides a way for the users to post anonymously. Here's the structure of the...
0
by: Marco Mendonça | last post by:
Hi, I've noticed that in the ASP.NET PetShop Sample, there are 2 WebServers running IIS in LoadBalancing. The presented architecture requires 2 ISA Servers, one for each WebServer running IIS....
3
by: pratham | last post by:
Hi, I was seeing code of PetShop 2.0 and find is quite .. differnet design and architecture .. too much of clutter in classes .. order class using and Iorder and Iorder using an orderInfo and...
0
by: shishir | last post by:
Hi, Am trying to expose the order submission in petshop as a WCF service.I have all required service running on the server side too but the problem is whenever i try to call the order service from...
0
by: shishir | last post by:
Hi, Am trying to expose the order submission in petshop as a WCF service.I have all required service running on the server side too but the problem is whenever i try to call the order service from...
0
by: shishirdk | last post by:
Hi, Am trying to expose the order submission in petshop as a WCF service.I have all required service running on the server side too but the problem is whenever i try to call the order service from...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.