473,379 Members | 1,377 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,379 software developers and data experts.

Permissions for VB.Net2005

Hi,
when programming with VB.Net2005 you quite often need to have more
privileges than the normal office user. In the past, this hasn't been too
much of an issue as I have a user with full admin privileges that I use just
for that. Understandably, I cannot use that login to access the Web.

With Visual Studio becoming more integrated with the Web, can anyone suggest
what privileges I really need to be able to create Windows and Web projects
whilst also being able to persuade our systems manager to allow me access to
the on line content too.

Thanks
Jul 11 '06 #1
5 1230
Hello John,

Welcome to the MSDN newsgroup.

From your description, I understand you're developing some .net based
applications on a restricted shared machine. You used to develop
applications under a local admin account on that machine and it works well.
However, when you try developing some web application, it fails, correct?
If there is anything I misunderstand, please feel free to post here.

As for developing .net application through Visual Studio, generally
speaking, we can perform basic development tasks under a non-admin account.
And that account should be granted some basic permissions, such as the "Vs
Developers" group or "Debugger Users" group.

For web application development, do you mean the ASP.NET web application
development? If so, Visual Studio(include VB.NET 2005) include two ASP.NET
web application development model, through IIS(also supported in vs 2003)
or through the Test WebServer shipped with .net framework 2.0. So are you
developing the web applciation through IIS or the test webserver(file
system based web project)? Based on my experience, most people will
encounter some permission issue when try debugging an ASP.NET application
under a non-admin account, this is because a .net application running under
a certain account(suppose it is userA) can only be debugged by that very
account(userA) rather than any other accounts. And by default ASP.NET
hosted in IIS is running under IIS process account(different from our logon
user account), that'll cause some problems in such scenario.

Here is a good MSDN article which introduces some common permission issue
and best practice on developing in Visual Studio IDE under non-Admin
account:

#Developing Software in Visual Studio .NET with Non-Administrative
Privileges
http://msdn.microsoft.com/library/en...evelopingsoftw
areinvisualstudionetwithnon-administrativeprivileges.asp?frame=true

In addition, if your problem is a particular case, would you provide some
decent error info when you encountering the issue?

Hope this helps some.

Regards,

Steven Cheng
Microsoft MSDN Online Support 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.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Jul 12 '06 #2
Hello John,

Haven't heard from you, how are you doing on this issue? Have you got any
progress or does my last reply helps you a little? If there is still
anything we can help you, please feel free to post here.

Regards,

Steven Cheng
Microsoft MSDN Online Support 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.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Jul 13 '06 #3
Steven,

Been out of the office for a couple of days so only just picked up your reply.

You slightly misunderstood my question although having said that your
posting was of use. I'm going to have a look at the article you mentioned.

Basically, although we know we shouldn't, we tend to always develop using an
account with Domain Administrators privieges. This first came about in an
earlier version of VB when half the options were missing from the menus if
you used an ordinary user account. You also needed the admin privileges to
install VB as the installation needed to write to the registry which our
ordinary users can't do.

As you say there are issues in relation to ASP and also, I think, when
accessing Web services that mean it is easier to simply use the Admin user
most of the time.

I guess that one of our problems is that we aren't full time programmers.
While we do develop our own code, we also get involved with purchasing
systems etc so never seem to have time to sit down and become completely up
to date with the new versions of VB as they are released. Personally, I have
enough problems just writing bug free code without the additional worry of
security causing problems.

I'll let you know how things are going when I've read the article.

"Steven Cheng[MSFT]" wrote:
Hello John,

Haven't heard from you, how are you doing on this issue? Have you got any
progress or does my last reply helps you a little? If there is still
anything we can help you, please feel free to post here.

Regards,

Steven Cheng
Microsoft MSDN Online Support 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.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Jul 14 '06 #4
Hi John,

Glad to hear from you. I'm sorry for the misunderstanding in my first
response. Anyway, please feel free to let me know your main concerns after
you read that article, we'll try best to help you find the information you
want.

Regards,

Steven Cheng
Microsoft MSDN Online Support 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.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Jul 14 '06 #5
Hello John,

Have you had a chance to evaluate the information in that article or have
you got any progress on this issue? As always, if you have any further
questions or anything we can help, please don't hesitate to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

Jul 18 '06 #6

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

Similar topics

11
by: A.M-SG | last post by:
Hi, I understand that be default VS2005 uses the ASP.NET development server to run and test ASP.NET applications. Is it possible that we use IIS for ASP.NET application debugging in new IDE...
0
by: Julian | last post by:
I upgraded this program from VC6 to .NET2003 a few months back. I had to change some of the source code, but I was finally able to get it to compile and link properly. I just tried to upgrade...
0
by: vennela | last post by:
hi, I am trying to test the serial ports. First i tested using hyper terminals and came to know that hardware is through.While testing through the program in vb.net2005,modem is responding for the...
10
by: SanMiguel12 | last post by:
Hi, I have a huge problem which drives crazy for a month... I am working on a database program and I am using .net2005 and Sql server 2003. In a form I have a listbox and two texboxes and there's...
0
by: yogeshtiwarijbp | last post by:
how to insert data inside a table using for loop in asp.net2005
0
by: anupamak | last post by:
Hello everybody, I have gone through lot many articles regarding the SOAP in webServices. I did many applications in the windows service in .net2005. Now my new requirement is to create a new...
2
by: =?Utf-8?B?TWFyYyBBbGxhcmQ=?= | last post by:
Hello, I have posted this message in the normal newsgroup instead of posting it in the managed ones. I have a project in VB6 (GDI+) that will read a WMF File (created by my customer) and then...
5
mafaisal
by: mafaisal | last post by:
Hello Experts I am Using Vb.net2005 windows app My Doubt is How we can change the height of TextBox without multiline ie, in multi line textbox we can change but other Fixed height !! Hw can...
2
mafaisal
by: mafaisal | last post by:
Hello Experts I am Using vb.net2005 How To Know a File or Folde is Exist in Specific Folder Using vb.net2005 eg : test.txt this file is exist in D:\Faisal Hw to check this Faisal
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...

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.