Deploying Application

Deploying Application

Postby jwagner73 on Thu Jul 02, 2009 8:03 pm

My web app uses the DocFramework which I am licensed for. Everything runs fine on my dev machine. When I deploy the app users can create a document but the document has the "trial version" splash on it. What needs to be copied out to the bin directory?

Thanks
J
jwagner73
 
Posts: 22
Joined: Tue May 19, 2009 2:04 pm
Location: Minneapolis, MN

Re: Deploying Application

Postby Cellbi on Thu Jul 02, 2009 8:32 pm

Hello,

Please download this build:
DocFramework-1.2.0.82

It adds simplified licensing system to deploy on web servers, plus several major improvements to support partial trust environments.

We added new static RegisterLicenseFile method to Document class in order to simplify licensing.
The following sample code shows how to use the method inside Global.asax file:

Code: Select all
void Application_Start(object sender, EventArgs e)
{
   // Code that runs on application startup
   string path = Server.MapPath("Bin\\DocFramework.lic"); // path to license file
   Cellbi.DocFramework.EditModel.Document.RegisterLicenseFile(path);
}
Thanks,
Tech Support
Cellbi Software
Cellbi
Support
 
Posts: 70
Joined: Sat Mar 15, 2008 8:41 am
Location: Cellbi Software

Re: Deploying Application

Postby jwagner73 on Wed Jul 15, 2009 6:57 pm

We have tried your solution but still cannot get this to work. Somebody from Support emailed Jeremy Pries a demo application (while I was on vacation) but that demo still would not work in our environment. The demo that was sent to us uses IIS 6 and we are using IIS7, perhaps that is the issue, not sure. We are attempting to deploy on Windows Server 2008 using IIS 7.0. Attached is a sample project modified from your sample to work with IIS 7.0. When testing this application we are still getting the "Trial Version" stamp on our documents.

Please let me know if you have any suggestions.

thank you,

Justin

FYI - Tried to attach sample project zip file but is too big. I belive Jeremy has already emailed this to support. Please let me know if I should email it to someone.
J
jwagner73
 
Posts: 22
Joined: Tue May 19, 2009 2:04 pm
Location: Minneapolis, MN

Re: Deploying Application

Postby Cellbi on Wed Jul 15, 2009 7:15 pm

Justin,

I've got the project, changed it a bit, and used it's contents as IIS7 application and it works ok.
Can you verify that licensing code is really called?
And also please try to place licensing code to Default.aspx page like shown below:

Code: Select all
string path = Server.MapPath("Bin\\DocFramework.lic");
if (!System.IO.File.Exists(path))
throw new Exception("blah");
Cellbi.DocFramework.EditModel.Document.RegisterLicenseFile(path);

Document doc = new Document();
doc.AppendParagraph("Test Para1");


I've sent the modified project to your email please take a look.
Thanks,
Tech Support
Cellbi Software
Cellbi
Support
 
Posts: 70
Joined: Sat Mar 15, 2008 8:41 am
Location: Cellbi Software

Re: Deploying Application

Postby jwagner73 on Wed Jul 15, 2009 8:30 pm

I am now working on this instead of Jeremy. I just got all the new dlls and code in place and have it working on my dev machine. I am now going to deploy to our QA server to see if it works there. I will let you know what happens.

Thanks for quick response.
J
jwagner73
 
Posts: 22
Joined: Tue May 19, 2009 2:04 pm
Location: Minneapolis, MN

Re: Deploying Application

Postby jwagner73 on Fri Jul 31, 2009 2:38 pm

After trying everything suggested the only way I could get documents to generate without the "splash" was to install Cellbi on the web server. Once that was done and dll files copied to GAC docs where then created without the "splash".
J
jwagner73
 
Posts: 22
Joined: Tue May 19, 2009 2:04 pm
Location: Minneapolis, MN

Re: Deploying Application

Postby Cellbi on Tue Aug 04, 2009 7:11 pm

Justin,

I've replied to your email with information about license files.
Thanks,
Tech Support
Cellbi Software
Cellbi
Support
 
Posts: 70
Joined: Sat Mar 15, 2008 8:41 am
Location: Cellbi Software


Return to Purchase and licensing questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron