472,362 Members | 2,011 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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.SecurityException: Request for the
permission of type 'System.Security.Permissions.FileIOPermission, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' 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:

[SecurityException: Request for the permission of type
'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
System.Security.CodeAccessSecurityEngine.Check(Obj ect demand,
StackCrawlMark& stackMark, Boolean isPermSet) +0
System.Security.CodeAccessPermission.Demand() +59
System.IO.FileStream.Init(String path, FileMode mode, FileAccess access,
Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize,
FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean
bFromProxy) +678
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
FileShare share) +114

System.Configuration.Internal.InternalConfigHost.S taticOpenStreamForRead(String streamName) +80

System.Configuration.Internal.InternalConfigHost.S ystem.Configuration.Internal.IInternalConfigHost.O penStreamForRead(String
streamName, Boolean assertPermissions) +115

System.Configuration.Internal.InternalConfigHost.S ystem.Configuration.Internal.IInternalConfigHost.O penStreamForRead(String streamName) +7

System.Configuration.Internal.DelegatingConfigHost .OpenStreamForRead(String
streamName) +10
System.Configuration.UpdateConfigHost.OpenStreamFo rRead(String
streamName) +42
System.Configuration.BaseConfigurationRecord.InitC onfigFromFile() +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 1317
Hello,

This group (microsoft.public.inetserver.asp.general) is for the issues on
ASP/Visual InterDev. For smallbusiness issues, I suggest you may post in
microsoft.public.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.public.inetserver.asp.general) is for the issues on
ASP/Visual InterDev. For smallbusiness issues, I suggest you may post in
microsoft.public.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.public.dotnet.framework.aspnet
or microsoft.public.dotnet.framework.aspnet.security, 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
FileIOPermission. 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
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...
12
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. -...
4
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...
4
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...
11
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...
13
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...
1
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? ...
10
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",...
0
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,...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
1
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...

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.