|
 |
aspx thread: Server Error In Deployment
Message #1 by lim soo <limsk99@y...> on Sat, 19 Jan 2002 20:21:24 -0800 (PST)
|
|
hi,
i'm having a problem when deploying my web application
into my web server. The simpliest way of deploying
that i choose was XCOPY method.
this is what i have been done during the deployment.
1. make a new directory eg. c:\LeaveApp\
2. make a new c:\LeaveApp\bin
3. xcopy the ASP.NET webform (.aspx) into LeaveApp
directory.
4. xcopy the com component into \bin
5. create IIS virtual directory("\LeaveApp") to the
c:\LeaveApp.
that's all i had done, but when i try to access let's
say through http://myserver/LeaveApp/NewLeave.aspx
it's saying that my com object was not valid or
register but then when i try to register thoses com
component which resides in my bin directory into the
my c:\winnt\system32, there's error message prompt out
that hinder me from registering.
what was wrong those steps? Any missing step? Please
advice.
i encountered the follow error message.
----------------------------------------------------
Server Error in '/LeaveApp' Application.
COM object with CLSID
{4C19DA21-7038-4A38-94DD-C4233065A0E1} is either not
valid or not registered.
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: COM
object with CLSID
{4C19DA21-7038-4A38-94DD-C4233065A0E1} is either not
valid or not registered.
------------------------------------------------
thank you. hope u had any idea.
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
Message #2 by Todd Carrico <ToddC@m...> on Mon, 21 Jan 2002 00:51:58 -0600
|
|
You can't XCOPY COM objects. You need to run regsvr32.exe to register your
component in COM Services.
Try that and let us know what you get.
tc
-----Original Message-----
From: lim soo [mailto:limsk99@y...]
Sent: Saturday, January 19, 2002 10:21 PM
To: ASP+
Subject: [aspx] Server Error In Deployment
hi,
i'm having a problem when deploying my web application
into my web server. The simpliest way of deploying
that i choose was XCOPY method.
this is what i have been done during the deployment.
1. make a new directory eg. c:\LeaveApp\
2. make a new c:\LeaveApp\bin
3. xcopy the ASP.NET webform (.aspx) into LeaveApp
directory.
4. xcopy the com component into \bin
5. create IIS virtual directory("\LeaveApp") to the
c:\LeaveApp.
that's all i had done, but when i try to access let's
say through http://myserver/LeaveApp/NewLeave.aspx
it's saying that my com object was not valid or
register but then when i try to register thoses com
component which resides in my bin directory into the
my c:\winnt\system32, there's error message prompt out
that hinder me from registering.
what was wrong those steps? Any missing step? Please
advice.
i encountered the follow error message.
----------------------------------------------------
Server Error in '/LeaveApp' Application.
COM object with CLSID
{4C19DA21-7038-4A38-94DD-C4233065A0E1} is either not
valid or not registered.
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: COM
object with CLSID
{4C19DA21-7038-4A38-94DD-C4233065A0E1} is either not
valid or not registered.
------------------------------------------------
thank you. hope u had any idea.
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
Message #3 by lim soo <limsk99@y...> on Mon, 21 Jan 2002 01:20:53 -0800 (PST)
|
|
hi all,
i had try that too. however there was an error saying
that i can't register those component, they already
exist in the system. i read a book it says that i need
some script to register them. does anyone had any idea
of what are them?
mavis
--- Todd Carrico <ToddC@m...> wrote:
> You can't XCOPY COM objects. You need to run
> regsvr32.exe to register your
> component in COM Services.
>
> Try that and let us know what you get.
>
> tc
>
>
> -----Original Message-----
> From: lim soo [mailto:limsk99@y...]
> Sent: Saturday, January 19, 2002 10:21 PM
> To: ASP+
> Subject: [aspx] Server Error In Deployment
>
> hi,
> i'm having a problem when deploying my web
> application
> into my web server. The simpliest way of deploying
> that i choose was XCOPY method.
> this is what i have been done during the deployment.
> 1. make a new directory eg. c:\LeaveApp\
> 2. make a new c:\LeaveApp\bin
> 3. xcopy the ASP.NET webform (.aspx) into LeaveApp
> directory.
> 4. xcopy the com component into \bin
> 5. create IIS virtual directory("\LeaveApp") to the
> c:\LeaveApp.
>
> that's all i had done, but when i try to access
> let's
> say through http://myserver/LeaveApp/NewLeave.aspx
> it's saying that my com object was not valid or
> register but then when i try to register thoses com
> component which resides in my bin directory into the
> my c:\winnt\system32, there's error message prompt
> out
> that hinder me from registering.
>
> what was wrong those steps? Any missing step? Please
> advice.
>
> i encountered the follow error message.
>
> ----------------------------------------------------
> Server Error in '/LeaveApp' Application.
>
> COM object with CLSID
> {4C19DA21-7038-4A38-94DD-C4233065A0E1} is either not
> valid or not registered.
> 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: COM
> object with CLSID
> {4C19DA21-7038-4A38-94DD-C4233065A0E1} is either not
> valid or not registered.
>
> ------------------------------------------------
>
> thank you. hope u had any idea.
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/
>
> $subst('Email.Unsub').
>
$subst('Email.Unsub').
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
Message #4 by Todd Carrico <ToddC@m...> on Mon, 21 Jan 2002 08:25:35 -0600
|
|
If the component is already registered, does it have the same interface as
the new one? If not, you need to hunt it down and un register it. Then
register your new one.
If the component does not have the same interface, then your app should be
working. I am pretty sure that Com Interop does not expect the DLL to be in
the /bin directory.
As far as the script goes, it is using regsvr32.exe to register the
component. Command line, batch file, same thing.
tc
-----Original Message-----
From: lim soo [mailto:limsk99@y...]
Sent: Monday, January 21, 2002 3:21 AM
To: ASP+
Subject: [aspx] RE: Server Error In Deployment
hi all,
i had try that too. however there was an error saying
that i can't register those component, they already
exist in the system. i read a book it says that i need
some script to register them. does anyone had any idea
of what are them?
mavis
--- Todd Carrico <ToddC@m...> wrote:
> You can't XCOPY COM objects. You need to run
> regsvr32.exe to register your
> component in COM Services.
>
> Try that and let us know what you get.
>
> tc
>
>
> -----Original Message-----
> From: lim soo [mailto:limsk99@y...]
> Sent: Saturday, January 19, 2002 10:21 PM
> To: ASP+
> Subject: [aspx] Server Error In Deployment
>
> hi,
> i'm having a problem when deploying my web
> application
> into my web server. The simpliest way of deploying
> that i choose was XCOPY method.
> this is what i have been done during the deployment.
> 1. make a new directory eg. c:\LeaveApp\
> 2. make a new c:\LeaveApp\bin
> 3. xcopy the ASP.NET webform (.aspx) into LeaveApp
> directory.
> 4. xcopy the com component into \bin
> 5. create IIS virtual directory("\LeaveApp") to the
> c:\LeaveApp.
>
> that's all i had done, but when i try to access
> let's
> say through http://myserver/LeaveApp/NewLeave.aspx
> it's saying that my com object was not valid or
> register but then when i try to register thoses com
> component which resides in my bin directory into the
> my c:\winnt\system32, there's error message prompt
> out
> that hinder me from registering.
>
> what was wrong those steps? Any missing step? Please
> advice.
>
> i encountered the follow error message.
>
> ----------------------------------------------------
> Server Error in '/LeaveApp' Application.
>
> COM object with CLSID
> {4C19DA21-7038-4A38-94DD-C4233065A0E1} is either not
> valid or not registered.
> 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: COM
> object with CLSID
> {4C19DA21-7038-4A38-94DD-C4233065A0E1} is either not
> valid or not registered.
>
> ------------------------------------------------
>
> thank you. hope u had any idea.
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/
>
> $subst('Email.Unsub').
>
$subst('Email.Unsub').
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
Message #5 by "McCloy, Russell" <Russell.McCloy@B...> on Tue, 22 Jan 2002 08:50:14 +1100
|
|
Dont you need to run the new vbc compiler??
-----Original Message-----
From: Todd Carrico [mailto:ToddC@m...]
Sent: Monday, 21 January 2002 5:52 PM
To: ASP+
Subject: [aspx] RE: Server Error In Deployment
You can't XCOPY COM objects. You need to run regsvr32.exe to register your
component in COM Services.
Try that and let us know what you get.
tc
-----Original Message-----
From: lim soo [mailto:limsk99@y...]
Sent: Saturday, January 19, 2002 10:21 PM
To: ASP+
Subject: [aspx] Server Error In Deployment
hi,
i'm having a problem when deploying my web application
into my web server. The simpliest way of deploying
that i choose was XCOPY method.
this is what i have been done during the deployment.
1. make a new directory eg. c:\LeaveApp\
2. make a new c:\LeaveApp\bin
3. xcopy the ASP.NET webform (.aspx) into LeaveApp
directory.
4. xcopy the com component into \bin
5. create IIS virtual directory("\LeaveApp") to the
c:\LeaveApp.
that's all i had done, but when i try to access let's
say through http://myserver/LeaveApp/NewLeave.aspx
it's saying that my com object was not valid or
register but then when i try to register thoses com
component which resides in my bin directory into the
my c:\winnt\system32, there's error message prompt out
that hinder me from registering.
what was wrong those steps? Any missing step? Please
advice.
i encountered the follow error message.
----------------------------------------------------
Server Error in '/LeaveApp' Application.
COM object with CLSID
{4C19DA21-7038-4A38-94DD-C4233065A0E1} is either not
valid or not registered.
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: COM
object with CLSID
{4C19DA21-7038-4A38-94DD-C4233065A0E1} is either not
valid or not registered.
------------------------------------------------
thank you. hope u had any idea.
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
|
|
 |