Configuration :: User Rights When Running Office?

Aug 31, 2010

I've got an ASP 4.0 website running on IIS 7.0 . Part of the web site creates an Excel document using C#, due to company policy I'm stuck with Excel 2003. I've noticed that when I deploy the site and use the part that creates the Excel file, its running Excel application object with the login of the user accessing the site. This causes problems with access rights to the Server.

How do I set the server up to run the Excel application using a fixed account? I've got the Application pool running under one, and I thought that would solve the problem, but it doesn't seem to.

View 1 Replies


Similar Messages:

Security :: Running Cmd With Admin Rights?

Dec 12, 2010

if I have this code:

How can I run the cmd using and admin rights? Is it possible to run the command using an admin name and password?

[Code]....

View 1 Replies

Running Into A .NET COMException With MS Office Interop?

Feb 16, 2010

I am trying to work with the Windows clipboard and Office Interop in an ASP.NET web application.Everything works well on my local machine running XP (i have created a Windows application first which ran perfectly well on local machine). Then I have executed it on a server running Windows Server 2003 and it worked there as well.Then I made a ASP.NET sample project and it worked on my local machine. However when this time I deployed it at the server, after banging my head with permissions, it started giving me this exception which i have no idea why it is doing this:

System.Runtime.InteropServices.COMException (0x80048240):
Shapes (unknown member): Invalid request. Clipboard is empty or
contains data which may not be pasted here.
at Microsoft.Office.Interop.PowerPoint.Shapes.Paste()

Is the problem with any sort of permissions again on clipboard? If yes, how can I grant appropriate permissions?

View 1 Replies

C# - Why Not Running Microsoft.Office.Interop.Outlook

Sep 6, 2010

I wrote some code about sending mail, Task, Appoinment etc. For example you can add someone to your outlook contact list over asp.net page. Every thing is ok on my local machine. But if I publish my application to a server I can not add noone on my outlook.

View 2 Replies

Configuration :: Running Com / Application In Background Without User Logged In?

Aug 3, 2010

I have a web application that initializes a third-party com application to perform few calculations. The website is deployed on a windows 2008 server (standard edition).

The problem I have been facing is that when I am logged in to the server (Remote Desktop Connection only as the server is not local), the com application initializes fine. But when I log-off or just close the remote desktop connection, the application doesn't get initialized. I have searched for a solution and found this:
[URL]

I created the scheduled task as I didn't know how to create the windows service (the description at
http://support.microsoft.com/kb/251192 is too confusing), and got the application to run when windows starts before even the user logs-in. But in even in this case, the application doesn't work unless the user is logged in and when I log-in, a second instance is created (with exactly the same user (admin)) and the original instance is never used.

I cannot get the application to run without logging off or atleast having to close the remote desktop connection.Is there anything I am doing wrong?

View 1 Replies

Configuration :: Executing Office In IIS 7.0?

Aug 18, 2010

I've got a website that needs to create an Excel File using the Excel object library and then makes it available for download by the user.This of course works fine in my dev environment on my local machine. I getCould not load file or assembly 'office, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.

The machine is running 64 bit Windows 2008 Server, and the version of office is 2003 SP3 (yes I know its old, but it does run normally). I'm thinking its a registration issue, but I don't know how to register Excel with the site in IIS 7.0.The development machine (on which everything runs fine), is an XP box. I've noticed that Excel is installed to a different path on the Server 'C:Program Files (x86)Microsoft OfficeOFFICE11' as opposed to 'C:Program FilesMicrosoft OfficeOFFICE11' on the XP box.

View 4 Replies

Security :: Getting User Rights For Use In WebClient?

Jul 7, 2010

I've got a site that users can use to check in and out documents. To check out a document, the user slects a file from a list, and clicks 'check out' . The document is taken from a 3rd party source control tool and placed in a dedicated directory on the server. Then, the file needs to be copied from this directory to a client directory the user has specified.

Copying to the Server is no problem.

I'm trying to use the WebClient objects DownloadFile method to write to the clients directory, but I keep getting "Access to the path '<path>' is denied.". I've set the UseDefaultCredentials flag to true, but no joy.

I'm obviously missing something, but I'm not sure what.

View 3 Replies

Security :: How To Choose A User And Store Specify Their Rights In C#

Mar 14, 2011

Roles: - administators

If it administator shows menu "Admin".

If I want to display the menu: "Create new employee ', have to create Roles: new_employee?

If so, how to choose a user and store specify their rights in c#?

View 3 Replies

DataSource Controls :: Give Db_datareader Rights To A Different User?

Feb 16, 2010

I need to programmatically create a database, some tables in it and then give db_datareader rights to a different user. The DB is mssql server 2005.

I got half way, I managed to create the database with "CREATE DATABASE Test", create some tables in it with CREATE TABLE. I'm doing this with a user that is in sysadmin role.

Now I'd need to do with code what manually (with Server Management Studio Express) I accomplish by: opening Security/Logins/[USERNAME] properties Map the user to the database (Test)Add check db_datareader

View 2 Replies

VS 2008 - Showing Menus According To Assigned Rights Of User

Sep 2, 2011

I m developing a Web Based Inventory System Using ASP.NET which have a menu containing 16 options overall. I have created a menu using <ul> <li> tags. When I open my project in browser, it shows all the 16 options even i logged in with Administrator or Purchaser or Seller or Accountant etc.

I have a form to assign the Form Access Rights to every user. For example Administrator can use all the options but Seller can use only 3 options (Sales / Sales Return / Today's Sale Report). Purchaser can use 3 options (Purchase / Purchase Returns / Today's Purchase Report) Accountant can use 2 options (Payment / Receipts) etc.How can i show the menus to the users according to the rights assigned.

View 7 Replies

Security :: Sitemap Control User Rights Enable And Disable?

Aug 27, 2010

iam using masterpage and sitemap in my project, what i want to is that if user login is did, based on the user previlage in need to show the sitemap menu page if user i have the previlage to see the page then i should enable that page otherwise i need disable that page

View 1 Replies

Security :: Apply Rights In Login Form And Create User Form?

Dec 9, 2010

i have created loing form and create user form. then how to apply login rights..? i have 2 types of user. admin and normal user admin can move and use all pages while normal user can acces limited pages.

View 4 Replies

How To Use Microsoft.Office.Interop.Excel Without Installing Microsoft Office

Dec 9, 2010

My server administrator does not allow me to install Microsoft Office in the server.

I have developed a website which converts XML files to Excel and it is using Microsoft.Office.Interop.Excel.

Is there any way I can run this application without installing Microsoft Office in the server?

View 7 Replies

Configuration :: Running MVC Site On IIS6 - Configuration?

Aug 11, 2010

I am having serious issue running a MVC web site from IIS 6 especially with Windows authentication mode. I know its very simple but missing some ting between. Succeeded configuring MVC on IIS 6. Now Trying to enable Windows Authentication mode on MVC Web Site, Steps included in my configuration

- enabled windows authentication mode in web.config
- Enabled Integrated Windows Authentication on IIS web site under Directory Security.
- Given permissions to a Domain group (eg: asiaDomainGrp) [Read, Write] Do i need to add ASP.NET Machine accountIUSR_<machines name> under this?

During the intial loading, I am trying to query Active Directory to get authenticated user's full name to display on default page, this is not success full due to some issue, later I changed to "HttpContext.User.Identity.Name". Now I could able to access Default page from the web server, but real heck is here. For some reason IIS is using NT AUTHORITYANONYMOUS LOGON.
[Code]....
I have separated two servers as Web server/Database server.

View 4 Replies

Configuration :: Running .Net 2.0 And 4.0 On The Same IIS?

Nov 29, 2010

I have a problem with my IIS setting and I am not sure how to fix it. I created a new website which is based on .net 4.0. If I set the ASP.Net version to 2.0 for the website and try to browse to the site, I get the Run time error in the web.config which is understandable. If I change the asp.net version to 4.0 and try to browse to the website, I get the page not found error (see below). Any ideas what is wrong? I am hosting both 2.0 and 4.0 apps on this machine but this is the first time I am trying to run .net 4 application.The page cannot be foundThe page you are looking for might have been removed, had its name changed, or is temporarily unavailable.Please try the following:Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.Click the Back button to try another link. HTTP Error 404 - File or directory not found.Internet Information Services (IIS)

View 4 Replies

Configuration :: Running WCF 3.5 App Under .NET 4.0 Website?

Jul 20, 2010

I have a website that is hosted on IIS6 and set to use .NET 4.0, but I still have a WCF service on the site that is using 3.5. When i browse my svc file, i get the error:

unrecognized attribute 'targetFramework'

and it point to the websites root web.config. I have tried this MSDN article and still get the same error. My site is using a different app pool than my WCF service, and is configured to use 4.0 in the ASP.NET tab of properties. I have also checked and made sure that my WCF service is using 3.5(2.0) in its ASP.NET properties tab.

View 1 Replies

Configuration :: Running 1.1 App On Win 2008 R2

Sep 27, 2010

I have an ASP.NET 1.1 app running fine on my local system and Win 2003 server. I transferred this site to a Win 2008 R2 server. The site is running under an app pool configured to run under ASP.NET v2.0. Some of the pages of the site throw exceptions and there are other problems in running the site as well however the same works good on Win 2003 Server. When I try to run the site under app pool for ASP.NET 1.1, it says "500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed."

View 2 Replies

Configuration :: Application Not Running On IIS 5.1?

Aug 27, 2010

i am trying to upload my applicaiton on IIS5.1 version.my application uses SQL server 2005 and Membership provider. everytime i create an virtual directory and run it ,it always says that login failed for user IUSR_TPN0150 .cannot open database emp.

how can i give access to annonymous users so that my login page is shown.

View 6 Replies

Configuration :: Application Is Not Running On Iis?

Aug 27, 2010

i have created an application in asp.net with C# this application is running well when i run it from visual studio but when i deployed it on IIS for testing it is not working it gives me error that isThe control with ID 'UpdatePanel1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.i have check complete project i did forget any thing and application is running wll but on iis it gave me above stated error any body can help me and one thing is that i install IIS after installing VS2008

View 1 Replies

Configuration :: Running 3.5 Site On 2.0 Server

May 1, 2010

I've created a site using Visual Web Developer 2008 Express Edition (ASP.NET 3.5) but the server hosting it runs ASP.NET 2.0. I'm getting some odd errors running the live site. Is there anything I need to be aware of? Do I need to make any changes to the web.config file (that was generated in VWD) or anything else?

View 2 Replies

Configuration :: Running Website In WS2008 R2 64 Bit IIS 7.5?

Jul 7, 2010

I have a web application developed in asp.net 1.1. Now I want to move it to WS2008 R2 64 bit IIS 7.5.

As far as I know asp.net 1.1 is supported only on 32 bit machines.

My question is can we run the 1.1 application in WS2008 R2 64 bit IIS 7.5

View 6 Replies

Configuration :: Error While Running A Web Page On IIS 6.0?

Aug 9, 2010

i developed a web site and i tried to run on iis 6.0 but i got this error..

XML Parsing Error: not well-formed
Location: http://localhost/iaec333/Default2.aspx
Line Number 1, Column 2:<%@ Page Language="VB" MasterPageFile="~/uk.master" AutoEventWireup="false" CodeFile="Default2.aspx.vb" Inherits="Default2" title="Untitled Page" %>
-^

but i can view web pages in browser using " view in Browser".

View 1 Replies

Configuration :: FileNotFound On Server But Not Running From VS?

Nov 1, 2010

I added a reference to a DLL in my ASP.Net app. That started causing a BadFileFormatException, so I switched my app to target x86. I'm now getting this error:

System.IO.FileNotFoundException: Could not load file or assembly 'TheDLLThatIReferenced.dll' or one of its dependencies. The specified module could not be found.

The DLL in question is present in both the bin directory, and in binx86Debug in my app's directory on the server. When I try to run my app out of Visual Studio, it runs just fine, but if I try to hit it via the internet, I get that error. What might be causing this error, and how can I correct it?

View 1 Replies

Configuration :: Running Of Visual Basic?

Aug 18, 2010

I'm working to develop a website application for my client. Unfortunately, my client does not want to spend the money to host it. Is it possible to host the whole program with the database on his laptop without him installing Visual Basic?

View 3 Replies

Configuration :: Web Service Not Running Correctly?

May 6, 2010

I'm trying to debug a co workers application that calls a web service to encrypt data.

But when I get to the line

bool login = Security.Login(username, password);

[Code]....

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved