Activate COM Object Using Website Doesn't Work In Windows 2003 Server

Apr 12, 2010

I have been trying really hard to activate and launch a COM object using an ASP.NET web application. The aspx website has a code-behind file that has a reference to this COM object (which is an actual application -a CAD software). When required, the VB code creates (or launches) the application.

The complete set-up works in a Win-XP (32-bit) environment both under debugging using visual studio and when the website is accessed by an outside user (through IIS server in XP). But the same application doesn't get activated when it is hosted onto the Win-2003 (32-bit) IIS server. I get "Object reference not set to an instance of an object" error.

The way I have setup in Win-XP was to grant ASP user and Internet guest user permissions to the COM object in the DCOM Config and since the windows firewall is enabled, I add the exe file (associated with the COM object) to the exception list. For the case of Win-2003 server, I add the Network Service permission to the COM object. But the setup doesn't seem to work at all. I am not sure what I am missing and how to get the application to launch.

View 1 Replies


Similar Messages:

How To Deploy Website On Windows Server 2003 & IIS 6.0

Aug 4, 2010

how to deploy an ASP.NET2.0 website on Windows server 2003 & IIS 6.0.

I tried to follow these steps but I get the message "Internet Explorer cannot display the webpage".

1. Create a new website in IIS with a host header.

2. Browse to the directory where the asp.net website is and setting it as home directory.

3. Stopping the website and starting it.

I am using Visual studio 2005 to develop my Asp.net website.

View 16 Replies

Windows Media Encoder Object Not Created In C# On MS Server 2003 64 Bit/80040154

Mar 14, 2010

I created (and used) a Windows Media Encoder object in Microsoft Visual C# 2008 Express Edition on MS Server 2003 64 bit. This worked fine.

However, when I attempted to create the equivalent Windows Media Encoder object using Microsoft Visual Web Developer 2008 on MS Server 2003 64 bit, the following exception was thrown:

"Retrieving the COM class factory for component with CLSID {632B606A-BBC6-11D2-A329-006097C4E476} failed due to the following error: 80040154."

It cannot be that the component isn't registered, because both have a reference to the same WMEncEng.dll file. The Microsoft Visual Web Developer 2008 code also worked fine on XP 32 bit.

[code]....

View 1 Replies

Configuration :: Deployment Of ASP 2.0 Website On Windows Server 2003

Jun 8, 2010

I have developed a website in ASP.NET and deployed on IIS 6.0 server on windows Server 2003.I used asp.net 2.0,SQL server 2005,AJAX and javascript .It is working.The problem I have that this website is slow. How did I deployed website on IIS? I went to Build-->Publish Web Site and it then created a folder with all pages, I simply copied that folder on webserver and put path in IIS. Is that a correct way to deploy aps.net webite or not? let me know is any other best way to deploy website that can make my website faster.

View 3 Replies

Configuration :: How To Deploy 3.5 Website In IIS 6 In Windows Server 2003 64 Bit

Nov 11, 2010

How to deploy Asp.net web site in IIS 6.0 my Environment is windows server 2003 64 bit and port ruining 81.

View 1 Replies

Configuration :: 2.0 Website Failed In IIS Windows Server 2003 R2

Mar 30, 2011

when I deploy a website in IIS Windows Server 2003 R2 . First time deploy, it seemed no problem at all (fyi, the one who deploy for the first time is not me, but my friend) but after one or two days this problem occur. I can't browse from IIS and Internet Explorer. In Internet Explorer the page display:

"Internet Explorer cannot display the website." The worse, no error log data ever produced in Application category in Event Viewer.

I've tried change the address from localhost to 127.0.0.1 but the response is still the same. I even tried access just localhost alone. It should display the default homepage from IIS but the response is still the same too. I've checked IIS' Web Service Extension, the Active Server Pages and ASP.NET 2.0 are set to allowed. I also have tried make a virtual directory with just index.html inside and the response is still the same.

FYI: The server seems run in 64 bit (HP Proliant server). The website I build only used ASP.NET Ajax 1.0 and Crystal Report for VS 2005. From the server, I can access the internet but not the localhost.

View 2 Replies

Configuration :: How To Publish The Website In Windows 2003 Iis Server

Dec 14, 2010

I am trying to publish the website in windows 2003 server in my office. it is getting published in windows xp iis. not getting up in windows 2003.

View 5 Replies

Configuration :: Publish Website On Windows Server 2003, When It Is Devloped On MS VisualStudio? 2010

Mar 30, 2011

I am installing MS Visual Studio 2010 on my PC and will develop website on it. I have developed my old asp.net websites on MS Visual Studio2005.Our webserver where we publish our websites on Windows Server 2003.I want to know that whether we can publish websites develop in MS Visual Studio 2010 on Windows Server 2003?

View 4 Replies

Environment.WorkingSet Incorrectly Reports Memory Usage For A Website That Runs On Windows 2003 Server

Jul 31, 2010

Environment.WorkingSet incorrectly reports the memory usage for a web site that runs on Windows 2003 Server.(OS Vers: Microsoft Windows NT 5.2.3790 Service Pack 2, .NET Vers: 2.0.50727.3607)

It reports memory as Working Set(Physical Mem.): 1952 MB (2047468061).

Same web site runs locally on Windows Vista with a Working Set(Physical Mem.): 49 MB (51924992).

I have limited access to the server and support is so limited.

so i have computed the total memory by traversing with VirtualQuery.

Total of pages with state: MEM_FREE is 1300 MB.

(I guess server have 4 GBs of RAM and PAE is not enabled, max user mode virtual address is 0x7fff0000.)

So, i know working set is not only about virtual memory. But, is it normal to have such a high working set while its very low on another machine?

View 2 Replies

Configuration :: Doesn't Work When Published To Virtual Server Running Windows Server 2008 R2?

Feb 26, 2011

Does anyone know of any requirements to get the Ajax Control Toolkit (Calendar Extension in particular) working in this OS? I have it working on my local macjine (VS 2010 Development Server) but it doesn't work when published to my Virtual Server running Windows Server 2008 R2. No errors are reported, just nothing happens when I give focus to the Calendar textbox (no Calendar appears).Anyone know of any configutrations that need to be made in Windows Server 2008 R2?Is there a 32-bit/64-bit issue with the Toolkit?

View 8 Replies

Configuration :: Deploying Website From Windows 7 To Windows 2003

Feb 25, 2010

I'm running windows 7, so I installed on my machine the oracle client version 11.1.0.7.0 (ODP.NET - Oracle.DataAccess version 2.111.7.20) .
I'm trying to deploy an asp.net web application to a server that is running windows 2003, which has the oracle client version 11.1.0.6.0 (ODP.NET - Oracle.DataAccess Version 2.111.6.20)

In my web.config file I have:

<add assembly="Oracle.DataAccess, Version=2.111.6.20, Culture=neutral, PublicKeyToken=89B483F429C47342"/>

(which for my surprise it compiles just fine).

Now when I compile my application and deploy it in a setup project (as pre-compiled). The start page of my web app tires to connect to Oracle and it returns the following error message:

"Could not load file or assembly 'Oracle.DataAccess, Version=2.111.7.20, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The system cannot find the file specified."

Which is super weird because, cause the web.config file as shown above has Version=2.111.6.20.

Now the strange part is that if I copy the source code from the client to the server, the same code, same config file, it works just fine.

So I'm thinking that the pre-compiled version is telling the server to load Oracle.DataAccess Version=2.111.7.20, maybe in one of the dlls, not in the config file for sure.

Has anyone run into this problem?

what's the best approach to deploy to servers with different oracle client version? (I have a similar problem trying to deploy to a 64 bit machine)

View 2 Replies

Web Forms :: Image Copy Doesn't Work On Windows Server 2008 With IIS 7.0

Mar 15, 2010

I have a small function that is in a STA thread. It's purpose is to copy the selected image in word document to clipboard and then save it to a location on the hard drive. Here is the code that works fine on XP and Windows server 2003.

protected static void CopyInlineShapeFromClipbord()
{
string imageFileName = string.Empty;
_oWordApplication.Selection.Copy();
Computer computer = new Computer();
if (computer.Clipboard.GetDataObject() != null)
{
System.Windows.Forms.IDataObject data = computer.Clipboard.GetDataObject();
if (data.GetDataPresent(DataFormats.Bitmap))
{
Image image = (System.Drawing.Image)data.GetData(
DataFormats.Bitmap, true);
imageFileName = _imageUrl + ".gif";
image.Save(imageFileName, ImageFormat.Gif);
_imageUrl = imageFileName;
}
}
}

It does not work on Windows server 2008 on IIS 7.0 Is there some known WP Identity issues or any other kind of security issues in cross process memory sharing?

View 1 Replies

ASP 4.0 On Windows Server 2003 64 Bit

Dec 22, 2010

Is there a step by step guide on how to enable .NET 4 on IIS 6 running under Windows Server 2003 64bit?

View 1 Replies

Asp 2.0 On IIS 6.0 Windows Server 2003 - Gives Error

Dec 9, 2010

I have windows server 2003 machine. I want to run a site that uses asp.net 2.0. By default there is asp.net 1.1. Then I installed .net framework 2.0 but still site uses asp.net 1.1 and give errors. How i run site with asp.net 2.0?

View 2 Replies

Configuration :: Website Db Selects Runs Extremly Slow On Windows 2003 (IIS6) When No Console User Is Logged In?

May 23, 2010

I have a really weird problem that I've been investigating for at least one week now. I deliver a website hosting both ASP classic and .NET 3.5 content in IIS6 on a Windows 2003 server environment with MySQL db backend. The solution has been installed on several servers (some hosted in WMWare) with no problems. On one specific server, also hosted in WMWare, the user experience great performance issues on the website. The problems are most seen when using database resources and is not limited to either .net or asp classic, but I am still not sure that the problem is only related to database calls.

Following components are involved:

IIS6 .NET FW 3.5 MyODBC 3.51 / 5.1 MySQL 4.x

Code executed on the server using all resources above runs smoothly when the IIS is not involved. The website shows times up to 2 minutes to execute code that takes 2 seconds outside the IIS. The exact same code is executed. Using profiling tools, I've seen that the great loss comes within calls to unmanaged code, for example when System.Data.ODBC namespace to calls into myodbc.dll.

The tricky part is: If at least one console user is logged in to the server, the performace problems are not seen anymore. When the user logs out, the problem appears again.I have tried to reinstall all components above, tried different versions of MyODBC, tried different website authentication methods, tried to run website under administrator privilegies, installed various MS KB's with no success.

View 4 Replies

Write A Application Which Connects To Remote Server(windows 2003 Server

Jan 17, 2011

I have to write a application which connects to remote server(windows 2003 server, open SQL Management studio in that server and enter a specific SQL Server address and access a stored procedure, change some values and execute the stored procedure.)

I have to write this application using C#.Net , Could anybody point me in right direction, Where do I start?

View 6 Replies

DataSource Controls :: SQL Server R2 On Windows 2003 Server Installation Error

May 17, 2010

i am trying to install SQL Server R2 on my windows 2003 server (I downloaded the x64 version) but on the installation directory, just before i click next, to get the error, the path is as follows: C:ProgramFiles(x86)Microsoft Sql Server im not too sure if thats the problem though, just guessing, since i dont know anyother problem, and its a new server. I also tried multiple server restarts and still got the same error.

View 6 Replies

Crystal Report Does Not Run On Windows 2003 Web Server

Feb 15, 2010

we have an application in ASP and Crystal Report design in Segate Crystal Report 7 in the same application. We are running this application on Windows 2000 advanced server web server, its running fine as well as the Reports. The problem arise when we host this application from Windows 2003 web server. The application run fine but the Reports does not run, giving data source error messgae

View 1 Replies

URL Routing Is Not Working On Windows Server 2003 R2?

Nov 1, 2010

I have implemented URL Routing in Asp.net 4.0 application, when i try to run it on windows server 2003 R2 server with IIS 6.0. the application works fine but without routing, whereas routing works fine on every other server.

View 1 Replies

Httphandler Not Working In Windows Server 2003 R2?

Jul 9, 2010

Im using a httphandler to response another pdf file in case requested file not found. Its working fine in local development pc but not working in web server. Mapped .pdf as wild card mapping too but no result yet. Still i'm getting the 404 error.

View 1 Replies

Configuration :: Deploying Web App To Windows Server 2003

Oct 17, 2010

I've been given a virtual dev environment being windows server 2003 and I need to publish a web app to it. I've deployed apps quite easily using the publishing wizard but I'm not sure how to do deploy to a windows server.. can someone please provide a link or a guide on how to do this as I need to set it all up and I really don't know where to start.

View 2 Replies

Hosting WCF Web Serveic On Windows Server 2003?

Mar 21, 2011

Server Error in '/' Application. IISspecified authentication schemes 'IntegratedWindowsAuthentication, Anonymous', but the binding only supports specification of exactly one authentication scheme. Valid authentication schemes are Digest, Negotiate, NTLM, Basic, or Anonymous. Change the IIS settings so that only a single authentication scheme is use

View 1 Replies

Configuration :: ASP Error On Windows Server 2003

Jul 5, 2010

I set up VS 2008 team suite on windows server 2003 ,and when I begin a new web site and try to run this website I have error saying

Error 61 Unrecognized configuration section system.serviceModel.
C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Configmachine.config 136

I tried to edit in Machine.config but It did't succeed

View 5 Replies

Add Machine Account In Windows Server 2003?

Feb 18, 2011

I wand to download the files in Windows server 2003. For that the ASP.Net application needs access control to the directory. I searched the ASP.NET Account. But I cannot find. How Can i find or add?IF I try to add the ASPNET account using User Accounts panel. I cannot open the localusers It says an error "the computer is a domain controller. This snap-in cannot be used on a domail controller. Domain accounts are managed with active directory users and computers snap-in"

View 2 Replies

Service Unavailable Error In IIS Windows Server 2003?

Feb 4, 2011

Service Unavailable Error in IIS Windows server 2003

View 2 Replies







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