Community
Showing results for 
Search instead for 
Do you mean 
Reply

ASP .NET web applications and the Act! Framework

Copper Super Contributor
Posts: 52
Country: United_Kingdom

ASP .NET web applications and the Act! Framework

[ Edited ]

Hello everyone,

 

I've attached a Visual Studio solution to this post which demonstrates how to connect your own ASP. NET web application to the Act! framework and perform a couple of simple tasks.

 

In the demonstration you can login, retrieve contacts and create new contacts.

 

Here's a quick video:

http://screencast.com/t/3FwWs2yfMX1

 

IIS Configuration

 

Before publishing
1. Ensure you've created a new IIS application.
2. Ensure the IIS application uses a specific admin for authentication (rather than pass-though).
3. Make sure its the application has it's own dedicated application pool.
4. Set the application pool to allows 32 bit applications.
5. Change the application pool identity to the same admin as in step #2
6. Make sure the dll's used are the same version as the Act! software installed on the database server. (This example project references 16.1).


After publish
1. set the application default document to Index.aspx page.

 

Hopefully this'll help kick start a few projects.

 

Any question, please feel free to post.

 

Regards,

 

 

Russell

Nickel Super Contributor
Posts: 352
Country: Canada

Re: ASP .NET web applications and the Act! Framework

Russell - I haven't taken a look yet, but right away want to say thank you for posting this, much appreciated whenever samples like this are be provided.

 

I can guarantee you that this is going to push us to start doing some more web-facing stuff.

 

Thanks,

Len

Len Kamerman
ACT! Certified Consultant

Act E-mail Marketing Trainining Course:

http://actsoftware.training
Copper Super Contributor
Posts: 52
Country: United_Kingdom

Re: ASP .NET web applications and the Act! Framework

Hello Len.

 

Thank you very much for your comments. They are much appreciated.

 

Can't wait to see your next web based Act! app Smiley Wink

 

Kind regards,

 

 

Russell

New Member
Posts: 3
Country: USA

Re: ASP .NET web applications and the Act! Framework

Russel,

 

I recently started with the ACT 16 SDK and was surprised not to find a sample .NET solution included.

Thank you so much for providing this.

 

I have ACT 16 Client software, (Win7 Pro 64 PC, VS2012) intalled with default options, which created a local SQL Server (ACT7) Instance.I can open ACT and interact with the demo ACT2014Demo db.

 

I really need advice with your demo. I'ts installed under IIS 7.5 as per your instructions.
The solution is setup in VS2012 and I can open the index.aspx page in browser and even attach and debug.

However, no matter what credentials I provide, I get:

"Log on information is incorrect. Please fill in the correct User Name and Password"

 

If I remove or change the db file name, I get a message stating the database could not be opened. So I'm assuming

I'm getting a connection to the ACT2014Demo.pad file, but having a security issue. I have double checked the

IIS App Pool I created is using my local dev pc Administrator Account with correct password. The Website is set
to use this App Pool, with the same credentials, not pass-through authentication. I have assinged full file priveleges directly

to the Admin account to the ACT2014Demo.pad file, and in SSMC checked access to the ACT2014 demo SQL DB.

 

Any advice on how to successfully connect with the index.aspx page would be greatly appreciated!

 

Thank you,

Shawn C.

All Squared Web Design, LLC

 

Copper Super Contributor
Posts: 52
Country: United_Kingdom

Re: ASP .NET web applications and the Act! Framework

Hi Shawn,

 

Thanks for your post.

 

So you're getting my aspx page up without issues? Assuming the database you're connecting to is on the same server as the demo app you should use these credentials to login to the Act! demo:

 

Host: localhost

Username: Chris Huffman

Password:

Database: ACT2014Demo

 

Make sure that you've successfully opened the ACT2014Demo in the Act! application first.

 

Can you provide a screenshot when the error occurs?

 

Regards,

 

 

Russell

 

 

New Member
Posts: 3
Country: USA

Re: ASP .NET web applications and the Act! Framework

Thank you so much. Those credentials worked.