Unable to add lpssl.dll
-
- Commander (CMDR)
- Posts: 121
- Joined: Wed Dec 17, 2008 9:13 am
Unable to add lpssl.dll
I am trying to build ablecommerce project on my local machine. I am getting the following error. The only DLL i'm not able to add is lpssl.dll)
It gives error: "Make sure file is accessible and that it is a valid assembly".
I also tried Regsvr32 lpssl.dll (I get error: DllRegisterServer couldnot find entry point)
I tried Regasm too,I get error: lpssl.dll is not a valid assembly
Other Compilations errors
Error 1 The type or namespace name 'ASP' could not be found (are you missing a using directive or an assembly reference?)
..\Visual Studio 2008\Projects\Ablecommerce\Ablecommerce\ConLib\SearchPage.ascx.cs 27 5 Ablecommerce
Error 2 The type or namespace name 'ASP' could not be found (are you missing a using directive or an assembly reference?)
..\Visual Studio 2008\Projects\Ablecommerce\Ablecommerce\ConLib\CategoryGridPage.ascx.cs 29 5 Ablecommerce
Error 3 The type or namespace name 'ASP' could not be found (are you missing a using directive or an assembly reference?)
..\Visual Studio 2008\Projects\Ablecommerce\Ablecommerce\ConLib\CategoryGridPage3.ascx.cs 30 5 Ablecommerce
Any help please?
Thank you,
Carol
It gives error: "Make sure file is accessible and that it is a valid assembly".
I also tried Regsvr32 lpssl.dll (I get error: DllRegisterServer couldnot find entry point)
I tried Regasm too,I get error: lpssl.dll is not a valid assembly
Other Compilations errors
Error 1 The type or namespace name 'ASP' could not be found (are you missing a using directive or an assembly reference?)
..\Visual Studio 2008\Projects\Ablecommerce\Ablecommerce\ConLib\SearchPage.ascx.cs 27 5 Ablecommerce
Error 2 The type or namespace name 'ASP' could not be found (are you missing a using directive or an assembly reference?)
..\Visual Studio 2008\Projects\Ablecommerce\Ablecommerce\ConLib\CategoryGridPage.ascx.cs 29 5 Ablecommerce
Error 3 The type or namespace name 'ASP' could not be found (are you missing a using directive or an assembly reference?)
..\Visual Studio 2008\Projects\Ablecommerce\Ablecommerce\ConLib\CategoryGridPage3.ascx.cs 30 5 Ablecommerce
Any help please?
Thank you,
Carol
Re: Unable to add lpssl.dll
Sounds like lpssl.dll is dependent on one or more other DLL files not found in the ~/Bin folder.
Other possibility is lpssl.dll is trying to register a namespace that conflicts with an existing CommerceBuilder namespace. As a result, only certain pages fail in AC7 because their reference is (now) ambiguous.
Regsvr is unnecessary - the DLL should be pulled at compile-time by IIS from the ~/Bin folder. Besides, you won't want to be having to regsvr your DLLs on the hosting production server as that creates all sorts of operational and security risks.
What other modifications have you made to the site?
Other possibility is lpssl.dll is trying to register a namespace that conflicts with an existing CommerceBuilder namespace. As a result, only certain pages fail in AC7 because their reference is (now) ambiguous.
Regsvr is unnecessary - the DLL should be pulled at compile-time by IIS from the ~/Bin folder. Besides, you won't want to be having to regsvr your DLLs on the hosting production server as that creates all sorts of operational and security risks.
What other modifications have you made to the site?
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
-
- Commander (CMDR)
- Posts: 121
- Joined: Wed Dec 17, 2008 9:13 am
Re: Unable to add lpssl.dll
I just XCopied folders from our server to my local machine and create a visual studio project with the files.
I added all the references from visual studio from ADD REFERENCE and added all the dll which where in the bin folder.
It added everything except lpssl.dll. And I am getting compilations errors
"ASP missing assembly or reference"
Please let me know
Thanks
Carol
I added all the references from visual studio from ADD REFERENCE and added all the dll which where in the bin folder.
It added everything except lpssl.dll. And I am getting compilations errors
"ASP missing assembly or reference"
Please let me know
Thanks
Carol
Re: Unable to add lpssl.dll
If you're running WinXP or Vista, you may need to reset permissions on the parent web site folder. Be sure to click the advanced button and hit the checkbox for "reset permissions on this object and all child objects..." or however it says it.
local users ASPNET and Network Service need full perms to the parent web folder and all folders underneath.
local users ASPNET and Network Service need full perms to the parent web folder and all folders underneath.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
-
- Commander (CMDR)
- Posts: 121
- Joined: Wed Dec 17, 2008 9:13 am
Re: Unable to add lpssl.dll
Thank you so much for the reply.
Instead as creating website from visula studio, I created website in IIS and pointed it to ablecommerce folder. Build succeeds,
but I get runtime error
Server Error in '/Able_Commerce' Application.
--------------------------------------------------------------------------------
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Failed to decrypt using provider 'DataProtectionConfigurationProvider'. Error message from the provider: Key not valid for use in specified state. (Exception from HRESULT: 0x8009000B)
Source Error:
Line 1: <connectionStrings configProtectionProvider="DataProtectionConfigurationProvider">
Line 2: <EncryptedData>
Line 3: <CipherData>
Line 4: <CipherValue>AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAeDQtFp3zSkusBgijXcvGGwQAAAACAAAAAAADZgAAqAAAABAAAAC8TRH3d4UrWeX13RTCivHNAAAAAASAAACgAAAAEAAAAOgBepMq3zLTXB1v2BxrsbngAQAAfZ78qs86NMRvQjeh3QGCUwg94O+jtBAb1lvigAJBV2DlV0XRuC4JhKIDve92YZEARvHPftulywHAeOCb5v6Qo8JgSQLgwKYEeZCR34hG3E3NUM3kpHvaaZQG2eha5S09WF6FYzIzKU3TxEe+egqqVAHcHUCV4iIEaryjgQ11yL4RCBjkHqSS/js4eVX7bvBcEfgw5WN8Im8tSG9JMrKtUPbjQxadsoajSzI2+mnzEpU4txk3DMh+2PY3VOwK9rPbIOyjSdpDOipCUDnCrnnqWSRe9ETY2LqaCG46ChqlpdPazbz70Y/PT92Kidl/UYizbx+</CipherValue>
Instead as creating website from visula studio, I created website in IIS and pointed it to ablecommerce folder. Build succeeds,
but I get runtime error
Server Error in '/Able_Commerce' Application.
--------------------------------------------------------------------------------
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Failed to decrypt using provider 'DataProtectionConfigurationProvider'. Error message from the provider: Key not valid for use in specified state. (Exception from HRESULT: 0x8009000B)
Source Error:
Line 1: <connectionStrings configProtectionProvider="DataProtectionConfigurationProvider">
Line 2: <EncryptedData>
Line 3: <CipherData>
Line 4: <CipherValue>AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAeDQtFp3zSkusBgijXcvGGwQAAAACAAAAAAADZgAAqAAAABAAAAC8TRH3d4UrWeX13RTCivHNAAAAAASAAACgAAAAEAAAAOgBepMq3zLTXB1v2BxrsbngAQAAfZ78qs86NMRvQjeh3QGCUwg94O+jtBAb1lvigAJBV2DlV0XRuC4JhKIDve92YZEARvHPftulywHAeOCb5v6Qo8JgSQLgwKYEeZCR34hG3E3NUM3kpHvaaZQG2eha5S09WF6FYzIzKU3TxEe+egqqVAHcHUCV4iIEaryjgQ11yL4RCBjkHqSS/js4eVX7bvBcEfgw5WN8Im8tSG9JMrKtUPbjQxadsoajSzI2+mnzEpU4txk3DMh+2PY3VOwK9rPbIOyjSdpDOipCUDnCrnnqWSRe9ETY2LqaCG46ChqlpdPazbz70Y/PT92Kidl/UYizbx+</CipherValue>
Re: Unable to add lpssl.dll
Hmmm dunno.
Looks like the encryption key specified in ~/App_Data/encryption.config file is not for the machine it was created on. Did you move the site to a different PC?
Looks like the encryption key specified in ~/App_Data/encryption.config file is not for the machine it was created on. Did you move the site to a different PC?
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
Re: Unable to add lpssl.dll
Give a try by using the standard encryption.config file available with AC package.
Re: Unable to add lpssl.dll
Carolharry wrote:Thank you so much for the reply.
Instead as creating website from visula studio, I created website in IIS and pointed it to ablecommerce folder. Build succeeds,
but I get runtime error
Server Error in '/Able_Commerce' Application.
--------------------------------------------------------------------------------
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Failed to decrypt using provider 'DataProtectionConfigurationProvider'. Error message from the provider: Key not valid for use in specified state. (Exception from HRESULT: 0x8009000B)
Source Error:
Line 1: <connectionStrings configProtectionProvider="DataProtectionConfigurationProvider">
Line 2: <EncryptedData>
Line 3: <CipherData>
Line 4: <CipherValue>AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAeDQtFp3zSkusBgijXcvGGwQAAAACAAAAAAADZgAAqAAAABAAAAC8TRH3d4UrWeX13RTCivHNAAAAAASAAACgAAAAEAAAAOgBepMq3zLTXB1v2BxrsbngAQAAfZ78qs86NMRvQjeh3QGCUwg94O+jtBAb1lvigAJBV2DlV0XRuC4JhKIDve92YZEARvHPftulywHAeOCb5v6Qo8JgSQLgwKYEeZCR34hG3E3NUM3kpHvaaZQG2eha5S09WF6FYzIzKU3TxEe+egqqVAHcHUCV4iIEaryjgQ11yL4RCBjkHqSS/js4eVX7bvBcEfgw5WN8Im8tSG9JMrKtUPbjQxadsoajSzI2+mnzEpU4txk3DMh+2PY3VOwK9rPbIOyjSdpDOipCUDnCrnnqWSRe9ETY2LqaCG46ChqlpdPazbz70Y/PT92Kidl/UYizbx+</CipherValue>
when i try to install the 7.0.3 in godaddy.com. i have the same problem too, i check the encryption.config file. they are the same ( the one move from localhost and the one in AC package), anyone has any ideal how to fix that? thank you all
- Logan Rhodehamel
- Developer
- Posts: 4116
- Joined: Wed Dec 10, 2003 5:26 pm
Re: Unable to add lpssl.dll
Many comments...
lpssl.dll is not a .NET assembly, so you can't add a reference to it. It's a LinkPoint file.
Namespace ASP can't be found sounds like you are trying to create a web application project. Out of the box, AbleCommerce is a website project. To get to WAP, you have to do a little bit of work for some places where we have used the ASP. convention to access user control "classes". If you aren't up for that, open it as a website project.
The error in database.config or encryption.config is because you are trying to move from one machine to another with an already encrypted file. The encryption is machine specific, handled by ASP.NET. If you want to move from one server to another, you can't copy the encrypted config files over. If you locate the original unmodified ableCommerce installation files you will find decrypted versions of those files in the app_data folder. You should be able to grab the decrypted database.config and update it with the correct database string. Then place the decryptd encryption.config and restore your encryption key from backup on the new intallation.
lpssl.dll is not a .NET assembly, so you can't add a reference to it. It's a LinkPoint file.
Namespace ASP can't be found sounds like you are trying to create a web application project. Out of the box, AbleCommerce is a website project. To get to WAP, you have to do a little bit of work for some places where we have used the ASP. convention to access user control "classes". If you aren't up for that, open it as a website project.
The error in database.config or encryption.config is because you are trying to move from one machine to another with an already encrypted file. The encryption is machine specific, handled by ASP.NET. If you want to move from one server to another, you can't copy the encrypted config files over. If you locate the original unmodified ableCommerce installation files you will find decrypted versions of those files in the app_data folder. You should be able to grab the decrypted database.config and update it with the correct database string. Then place the decryptd encryption.config and restore your encryption key from backup on the new intallation.
Cheers,
Logan
.com
If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Logan

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Re: Unable to add lpssl.dll
if i download the software again and upload to the sharehosting, it won't have this problem anymore. right?