473,791 Members | 3,098 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.Unauthor izedAccessExcep tion: Access to the
registry key HKEY_CLASSES_RO OT\PetShop.BLL. Account is denied.

Source File: C:\NAS\Dev\NET\ PetShop\Web\Pro cessFlow\CartCo ntroller.cs
Line: 90
Line 90: OrderInsert order = new OrderInsert();
TIA. Please reply to the group.
Nov 17 '05 #1
1 4908
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.Unauthor izedAccessExcep tion: Access to the
registry key HKEY_CLASSES_RO OT\PetShop.BLL. Account is denied.

Source File: C:\NAS\Dev\NET\ PetShop\Web\Pro cessFlow\CartCo ntroller.cs
Line: 90
Line 90: OrderInsert order = new OrderInsert();
TIA. Please reply to the group.

Nov 17 '05 #2

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

Similar topics

2
2911
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
1451
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 question is simply this, can i use a newsgroup and display the messages from a newsgroup on the forum. Using this forum as an example, i would iterate through each of the
0
1053
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. - You may have to uninstalled the previous version first,and then reinstall the newest version.
1
1480
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 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
0
1319
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. Is it necessary to have 2 ISA Servers? Why not just 1 ISA Server for the 2 WebServers in LoadBalancing? If we have the configuration with 2 ISA Servers, can we have just 1 EntryPoint for the application (PetShop Sample)?
3
1568
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 same for product, is this good design ...is it MS design principles? I just learning the nacks of application designing and architecture and
0
901
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 client side it goes to the server side identifies the correct order method n while trying to get an instance of BLL order it throws an error stating "The type initializer for 'PetShop.BLL.Order' threw an exception." and the inner exception is...
0
1206
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 client side it goes to the server side identifies the correct order method n while trying to get an instance of BLL order it throws an error stating "The type initializer for 'PetShop.BLL.Order' threw an exception." and the inner exception is...
0
1262
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 client side it goes to the server side identifies the correct order method n while trying to get an instance of BLL order in my serviceclass it throws an error stating "The type initializer for 'PetShop.BLL.Order' threw an exception." and the inner...
0
9669
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9515
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10427
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10155
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9029
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7537
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5559
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2916
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.