473,782 Members | 2,542 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Small business starterkit deployment issues

Has anyone on the team responsible for the smallbusiness starter kit every
ran this thing on anything other than the Visual Studio Development Server.

After spending time getting used to this kit and adding my pages to it (only
pages no custom code), I tryed deploying it to my hosting provider. After
having everything work fine under VS 2005, I can't even view any pages
because I get this:
Server Error in '/' Application.
--------------------------------------------------------------------------------

Security Exception
Description: The application attempted to perform an operation not allowed
by the security policy. To grant this application the required permission
please contact your system administrator or change the application's trust
level in the configuration file.

Exception Details: System.Security .SecurityExcept ion: Request for the
permission of type 'System.Securit y.Permissions.F ileIOPermission , mscorlib,
Version=2.0.0.0 , Culture=neutral , PublicKeyToken= b77a5c561934e08 9' failed.

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

Stack Trace:

[SecurityExcepti on: Request for the permission of type
'System.Securit y.Permissions.F ileIOPermission , mscorlib, Version=2.0.0.0 ,
Culture=neutral , PublicKeyToken= b77a5c561934e08 9' failed.]
System.Security .CodeAccessSecu rityEngine.Chec k(Object demand,
StackCrawlMark& stackMark, Boolean isPermSet) +0
System.Security .CodeAccessPerm ission.Demand() +59
System.IO.FileS tream.Init(Stri ng path, FileMode mode, FileAccess access,
Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize,
FileOptions options, SECURITY_ATTRIB UTES secAttrs, String msgPath, Boolean
bFromProxy) +678
System.IO.FileS tream..ctor(Str ing path, FileMode mode, FileAccess access,
FileShare share) +114

System.Configur ation.Internal. InternalConfigH ost.StaticOpenS treamForRead(St ring streamName) +80

System.Configur ation.Internal. InternalConfigH ost.System.Conf iguration.Inter nal.IInternalCo nfigHost.OpenSt reamForRead(Str ing
streamName, Boolean assertPermissio ns) +115

System.Configur ation.Internal. InternalConfigH ost.System.Conf iguration.Inter nal.IInternalCo nfigHost.OpenSt reamForRead(Str ing streamName) +7

System.Configur ation.Internal. DelegatingConfi gHost.OpenStrea mForRead(String
streamName) +10
System.Configur ation.UpdateCon figHost.OpenStr eamForRead(Stri ng
streamName) +42
System.Configur ation.BaseConfi gurationRecord. InitConfigFromF ile() +443

Apparently I don't have the proper trust levels (thats what the message
says) to run this starter kit. Now my hosting provider isn't going to up my
trust level, as it seems you guys recommend medium trust in a shared hosting
environment anyway, so does anyone have any guidance on how to get this kit
working in a medium (I'm assuming its medium it may be lower) trust
environment?

I've spent 4 days on this already so any help would be appreciated.

Jun 15 '06 #1
3 1393
Hello,

This group (microsoft.publ ic.inetserver.a sp.general) is for the issues on
ASP/Visual InterDev. For smallbusiness issues, I suggest you may post in
microsoft.publi c.smallbiz. You can have more experienced people there who
may help on this issue.

Thank you for the understanding!

Luke Zhang
Microsoft Online Community Support

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Jun 15 '06 #2


"Luke Zhang [MSFT]" wrote:
Hello,

This group (microsoft.publ ic.inetserver.a sp.general) is for the issues on
ASP/Visual InterDev. For smallbusiness issues, I suggest you may post in
microsoft.publi c.smallbiz. You can have more experienced people there who
may help on this issue.

Just to clarify I am not talking about small business server but the small
business ASP.NET StarterKit (There is a set of these Perasonal, Commerce,
Club, and SmallBusiness). My post has absolutely nothing to do with small
business server.
Thank you for the understanding!

Luke Zhang
Microsoft Online Community Support

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Jun 15 '06 #3
Hello,

I appologize if I misunderstood the question. Anyway, this group is still
not a place for ASP.NET question, it is for old ASP and Visual InterDev.
For ASP.NET issue, you may post in microsoft.publi c.dotnet.framew ork.aspnet
or microsoft.publi c.dotnet.framew ork.aspnet.secu rity, which are also MSDN
managed group.

Regarding the issue, if you need to allow your application to access files
outside of the application's virtual directory hierarchy, you can create a
custom policy file based on the Medium trust file, and then modify the
FileIOPermissio n. For more details, you can refer to:

http://msdn.microsoft.com/library/de...us/dnpag2/html
/PAGHT000020.asp

But this also require the provider's assistance. I am not familiar with
small bussiness starterkit, not sure if this can help. If there is any
things I can provide, please feel free to let me know.

Regards,

Luke Zhang
Microsoft Online Community Lead

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Jun 16 '06 #4

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

Similar topics

48
2964
by: Bulba! | last post by:
I'll soon start development of a specialized small app and need to choose GUI for it. I have narrowed the choice to wxPython/PythonCard and QT/PyQT (buying commercial licenses is not a big problem, the company would pay for it). Which is better for this kind of application? I mean, looking from purely technological and long-term development aspects and ignoring licensing issues:
12
3523
by: Simon Harvey | last post by:
Whato chaps, I work (or am hoping to work! :) for a company that specialises in the following: - Localisation of media - including software, manuals, literature and training material. - Creating training material themselves in many langauges built to order. The main thing I'm thinking about for the company is maybe a sort of content
4
2132
by: wobbles | last post by:
Hi Everyone, I'm really struggling to get no-touch deployment to work well (if at all, in some cases). Can anyone recommend a good book on this topic? There seem to be a lot of blogs about "no-touch deployment"/"smart clients" but nothing that explains the entire technology, how to implement it effectively or the various aspects involved - in any step-by-step, cohesive manner.
4
3537
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The objective in utilizing this new deployment method is to reduce the maintenance overhead as well as making it easier for my users to setup and run the application initially. I have VS 2002, Windows XP, Access XP(2000 format). He is my problem....
11
1624
by: Thom Little | last post by:
Create two ASP.NET applications. Run them on the development machine to make sure they are error free. Publish the fist application to the root of a remote webspace. Call a page and see that it operates correctly. Publish the second application to the root of the same remote webspace. Permit it to overwrite existing files. Call a page and notice that it waits forever.
13
3115
by: Alan Silver | last post by:
Hello, MSDN (amongst other places) is full of helpful advice on ways to do data access, but they all seem geared to wards enterprise applications. Maybe I'm in a minority, but I don't have those sorts of clients. Mine are all small businesses whose sites will never reach those sorts of scales. I deal with businesses whose sites get maybe a few hundred visitors per day (some not even that much) and get no more than ten orders per day....
1
1753
by: jason | last post by:
In a small shop with 3 .net developers. What would typically be considered a good deployment practice if there is a chance of developers might be working on the same websites at the same time? Do most developers work on the desktop and deploy individual sources using xcopy compiling on the remote web servers? I noticed VS.NET acts kinda strange when just images are opened with other tools while you attempt to added them to a project....
10
5457
by: moondaddy | last post by:
Hi, I have 3 tiny content controls and each has a Path in it to draw some lines. These need to be very small and I'm having trouble making the lines clear. the lines have a stroke thickness of "1", but when I run the app, they become pixilated and blur out. Can someone please help me on this? Thanks. <Grid HorizontalAlignment="Left" Margin="10,0,0,0" Width="11" Height="33"> <Grid.RowDefinitions> <RowDefinition Height="10" />
0
2996
by: JTP PR | last post by:
Business Intelligence software company, Yellowfin today announced its successful foray into the Asia Pacific telecommunications sector through its expanding partner network. Two organisations, InterAcct Solutions and Utilibill have selected the Yellowfin web-based Business Intelligence (BI) reporting application as the front end presentation layer for their customer business reporting solutions throughout Asia Pacific. The Yellowfin BI...
0
10311
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...
0
10146
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9942
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8967
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
7492
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
6733
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
5378
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5509
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3639
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.