473,581 Members | 2,783 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 1384
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
2923
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...
12
3505
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
2121
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...
4
3514
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...
11
1612
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...
13
3098
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...
1
1748
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...
10
5445
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"...
0
2974
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...
0
7883
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...
0
8158
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. ...
0
8312
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...
0
6567
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...
0
5366
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...
0
3809
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...
1
2311
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1413
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1147
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...

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.