Unable to add lpssl.dll

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
Carolharry
Commander (CMDR)
Commander (CMDR)
Posts: 121
Joined: Wed Dec 17, 2008 9:13 am

Unable to add lpssl.dll

Post by Carolharry » Tue Jan 13, 2009 1:48 pm

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

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Unable to add lpssl.dll

Post by AbleMods » Tue Jan 13, 2009 10:39 pm

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?
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

Carolharry
Commander (CMDR)
Commander (CMDR)
Posts: 121
Joined: Wed Dec 17, 2008 9:13 am

Re: Unable to add lpssl.dll

Post by Carolharry » Wed Jan 14, 2009 8:21 am

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

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Unable to add lpssl.dll

Post by AbleMods » Wed Jan 14, 2009 9:24 am

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.
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

Carolharry
Commander (CMDR)
Commander (CMDR)
Posts: 121
Joined: Wed Dec 17, 2008 9:13 am

Re: Unable to add lpssl.dll

Post by Carolharry » Wed Jan 14, 2009 10:00 am

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>

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Unable to add lpssl.dll

Post by AbleMods » Wed Jan 14, 2009 2:24 pm

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?
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

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Unable to add lpssl.dll

Post by mazhar » Thu Jan 15, 2009 11:56 am

Give a try by using the standard encryption.config file available with AC package.

winson
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 22
Joined: Tue Jun 02, 2009 12:22 pm

Re: Unable to add lpssl.dll

Post by winson » Wed Aug 26, 2009 9:52 am

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

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: Unable to add lpssl.dll

Post by Logan Rhodehamel » Wed Aug 26, 2009 1:37 pm

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.
Cheers,
Logan
Image.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.

winson
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 22
Joined: Tue Jun 02, 2009 12:22 pm

Re: Unable to add lpssl.dll

Post by winson » Fri Aug 28, 2009 9:11 am

if i download the software again and upload to the sharehosting, it won't have this problem anymore. right?

Post Reply