CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
web_forms
getting_started
data_presentation_controls
dotnetnuke
data_access-sql_server_sql_server_express_and_sqldatasource_control
security
client_side_web_development
novell-support-groupwise-6x-clients
data_access-data_access_and_objectdatasource_control
asp-net_ajax-asp-net_ajax_control_toolkit
novell-support-netware-6x-install-upgrade
asp-net_ajax-asp-net_ajax_discussion_and_suggestions
novell-support-netware-6x-administration-tools
master_pages_themes_and_navigation_controls
configuration_and_deployment
novell-support-netware-client-winnt-2x-xp
novell-support-groupwise-7x-clients
asp-net_ajax-asp-net_ajax_ui
novell-support-edirectory-netware
community-free_for_all
visual_studio_2005
novell-support-groupwise-6x-install-setup
data_access-xml_and_xmldatasource_control
control-cancel
novell-support-iprint
advanced_asp-net-crystal_reports
data_access-xml_web_services
microsoft-public-access
novell-community-chat
state_management
novell-support-netware-6x-abends-hangs
dotnetnuke-getting_started
novell-support-groupwise-6x-gwia
-net_languages-c
novell-support-identity-manager-engine-drivers
novell-support-groupwise-discontinued
advanced_asp-net-architecture
opensuse-org-suse-linux-support-install-configure-administration
dotnetnuke-custom_modules
novell-support-groupwise-7x-install-setup-admin
novell-support-netware-6x-storage-media
novell-support-groupwise-6x-agents
installation_and_setup
data_access-access_databases_and_accessdatasource_control
windows-hosting_open_forum
visual_web_developer_2005_express
novell-support-groupwise-6x-web-access
novell-support-netware-6x-server-backup
macromedia-dreamweaver
novell-support-netware-5x-administration-tools
novell-support-ifolder
novell-support-bordermanager-install-setup
novell-support-imanager
microsoft-public-dotnet-framework-aspnet
novell-support-netware-5x-install-upgrade
novell-support-cluster-services
novell-support-bordermanager-proxies
novell-support-newsflash
advanced_asp-net-sql_server_reporting_services
microsoft-public-dotnet-languages-csharp
web_parts_and_personalization
about_this_site-feedback_on_this_website
ibm-software-websphere-portal-server
novell-support-netware-dns-dhcp
novell-support-zenworks-desktops-4x-app-launcher
-net_languages-visual_basic_-net
advanced_asp-net-custom_server_controls
novell-support-bordermanager-vpn
novell-support-ndps-neps
microsoft-public-sqlserver-programming
novell-support-netware-webserver
community-jobs
novell-support-netware-4x
advanced_asp-net-mobile_and_handheld_devices
internet_explorer_web_controls
novell-support-zenworks-desktops-4x-install-setup
novell-support-edirectory-linux
novell-support-groupwise-7x-gwia
development_tools-web_matrix_general_discussions
microsoft-public-access-formscoding
macromedia-flash
community-announcements
portal_starter_kit
novell-support-zenworks-desktops-4x-management-agent
novell-support-zenworks-patch-management
novell-support-native-file-access
microsoft-public-access-queries
microsoft-public-access-forms
novell-support-groupwise-7x-web-access
novell-support-netware-small-business-6x
data_access-active_directory_and_ldap
novell-support-edirectory-windows
novell-support-groupwise-7x-agents
novell-support-ichain
data_access-oracle
novell-support-zenworks-desktop-management-6x-imaging
novell-support-groupwise-7x-wireless
novell-support-netware-5x-abends-hangs
advanced_asp-net-localization
novell-support-zenworks-desktop-management-7x-imaging-server-nw-win




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.vs_2005_web_application_projects Tags:
Item Type: Date Entered: 9/27/2007 2:24:17 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 3 Views: 101 Favorited: 0 Favorite
4 Items, 1 Pages 1 |< << Go >> >|
"stearnsc" <>
NewsGroup User
Problem when Web App Published but OK on ASP.NET Development Server9/27/2007 2:24:17 PM

0

Hi, i was wondering if anyone could help.

Visual Studio 2005, C#.Net, WIndows XP Pro, IIS5.1, Communicator 2005

I have written a simple web app that displays status of people from LCS using the communicatorAPI library. When this is run on my laptop in the development server mode (pressing F5) everythings works ok, but when the web app is published to my laptop for others to test, the app fails and it is failing where i create the communicatorAPI object in the code.

A reference has been added to the Microsoft Office Communicator API.

Code Snippet

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using CommunicatorAPI;

namespace XXX
{
    public partial class API_Test : System.Web.UI.Page
    {
        private CommunicatorAPI.MessengerClass cMC = null;
       
        protected void Page_Load(object sender, EventArgs e)
        {
            cMC = new CommunicatorAPI.MessengerClass();
        }
    }
}

Debug page returned

Creating an instance of the COM component with CLSID {8885370D-B33E-44B7-875D-28E403CF9270} from the IClassFactory failed due to the following error: 80010105.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: Creating an instance of the COM component with CLSID {8885370D-B33E-44B7-875D-28E403CF9270} from the IClassFactory failed due to the following error: 80010105.

I was wondering if this is a security issue with the user IIS is using or the way i create the object. DOes anyone have any suggestions that i might try to resolve this issue.

Rgds Steve

"bitmask" <>
NewsGroup User
Re: Problem when Web App Published but OK on ASP.NET Development Server9/27/2007 2:38:28 PM

0

I'd definetly suspect some issues around the process account. When under IIS it might be that Network Service doesn't have the permissions to create the object - a good test would be to use impersonation <identity impersonate="true"> during the request, or change the identity of the whole web worker process to run under your account temporarily and see if things work.

"stearnsc" <>
NewsGroup User
Re: Problem when Web App Published but OK on ASP.NET Development Server9/28/2007 11:07:17 AM

0

Cheers for the idea Scott, i created a new account on my machile with admin rights, modified the web.config file as discribed and in the ASP.Net tab on the web properties, changed the Identity setting on the application tab to my admin user.

 

Now the web page progresses further but now fails on the class gemeration line on the web code

cMC = new CommunicatorAPI.MessengerClass();

with the same error.

 

It looks like we are on the right track. I will try it on a W2K3 server to try a different version of IIS  

 

Rgds

Steve

"bitmask" <>
NewsGroup User
Re: Problem when Web App Published but OK on ASP.NET Development Server9/28/2007 1:48:55 PM

0

Another tool to investigate might be DCOMCNFG: http://msdn2.microsoft.com/en-us/library/ms690141.aspx

It's been awhile since I fiddled with the tool, but I've used it in the past to allow ASP to use some COM components on the server.

4 Items, 1 Pages 1 |< << Go >> >|


Free Download:













skinners / developers : please validate your css and markup

flash embedded dnn2 site with menu linked at top

dotnet + mono on linux for free

dnnnode / dnnnodecollection is not defined?

side menu alternative

hosting problem

dnn2 intranet performance

developing dnn modules

free modules & skins now available

how to keep left and right content panes between all tabs?

accessing dnn functionality via web services

page with a user control event life cicle

get userid from aspx pages

text sizes

opening .ascx files in the same module

testing 3.0.8 upgrade reflection problem

migration to asp.net

problem dnn 2.0 datagrid events firing in debug mode

copying events module with contents minor bug

simple (?) register filed name change

removing the control panel on the server side

survey does not work 3.0.6

dnn2 module creation guide

upgrade to 2.0

problem after install! please help!

vendor affiliate reporting tutorial

managing or reloading container with same name

move modules that show on all pages to bottom?

compiling without vs.net

dnn 2 and ssl

unpacking admin modules for selective other users

sysreqs

sectionhead min/max not working after upgrade to 3.0.13

updating 1.0.5 custom module to the later versions of dnn e.g. 1.0.9

nightmare - database backup

looking for dnn custom module subcontractor

illegal characters in path, and friendly url's

somebody goofed

parent portal template

restricted access to dnn admin features

some general issues with how dnn works

solpart menu parent tabs only

printing contents of an iframe module

wrox book's modules

a quick question about host

redirection to localhost

sql server connection error

error after upgrading from 2.1.12 to 3.0.12

problems with my own module loading.

sql exception while inserting ntext datatype

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT