The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
| |
|
Re: HOW TO: Add/Edit/Delete fields within the module/package
Posted: 18 Apr 08 2:04 PM
|
Ronny,
After you use DBManager in Architect or Admin to add the columns (pretty straightforward), if you see my reply to the post on disabling controls at http://www.slxdeveloper.com/forum.aspx?forumid=4000&postid=15533 it'll give you an idea of how to use web manager to make the changes. That said, it's about disabling, but if you use the info, you can just create aliases and use them on your form to display the data.
You'll then need to find the web action it gets posted to (see the < form > tag method property on the page in question and that will tell you what action you'll need to modify.
Jeff
|
|
|
| |
|
Re: HOW TO: Add/Edit/Delete fields within the module/package
Posted: 21 Apr 08 4:23 PM
|
Hi Jeff,
I follow all your instruction in making change to the template. However, when I run the command=flush, or even restarted the IIS, I got 'Service Unavailable' message on my screen when I try to access my site again. As a result, I tried to re-create the website again from scratch and it wasn't successful as well. I still receive the same 'Service Unavailable' message. I checked the appPool everything and it run. Please advise...thanks in advance. |
|
|
|
Re: HOW TO: Add/Edit/Delete fields within the module/package
Posted: 21 Apr 08 7:58 PM
|
Ronny,
Service unavailable usually means that IIS isn't running properly. If you create a test HTML page and browse to it directly (not through the slx web dll), does it come up?
I think the other time I've seen service unavailable with SLX is when it has the wrong version of the .NET framework associated with it. If you check the ASP.NET tab in IIS, does it show the 1.1 or 2.0 version? And you said you checked the app pool is running, but is it running a 1.1 app or 2.0 app?
Jeff
|
|
|
|
Re: HOW TO: Add/Edit/Delete fields within the module/package
Posted: 21 Apr 08 8:01 PM
|
Ronny,
Yep - except the style sheets aren't contained/managed within SalesLogix, so you will have to modify them using an external editor (or you can actually open it in web manager, but that sounds like too much pain for me).
The css files are in their own folder somewhere under the web components folder...I can't remember if they are directly under web components or the slxweb folder. It should be easy to spot - the folder contains a lot of .css files.
Jeff
|
|
|
| |
|
Re: HOW TO: Add/Edit/Delete fields within the module/package
Posted: 22 Apr 08 6:06 PM
|
I've never run into this, so you shouldn't have to recreate it every time. Do you have another app that is using the same app pool as SalesLogix that loads a different version of .NET into the app pool before SalesLogix runs? SalesLogix should definitely have it's own app pool that is not shared with anything else.
If there is another app that loads the 1.1 framework and then SLX tries to load the 2.0 framework, it won't run. I can't swear to it, but I think that the service unavailable is a common symptom/result of a conflict between two versions of the framework attempting to run in the same app pool. I googled [different version .net framework app pool error +"service unavailable"] and got a number of hits indicating the "service unavailable" is a common problem with app pools and .net versions.
This thread (http://www.webhostingtalk.com/archive/index.php/t-508880.html) also suggests that it could be permissions - make sure your SLX web user has the "Log on as a service" right. This is required according to the SLX documentation.
If you have it set up under it's own app pool and nothing else using it and still get the error, I'm not sure where to look. Is there something in the event logs that might shed some light?
Jeff
|
|
|
|
Re: HOW TO: Add/Edit/Delete fields within the module/package
Posted: 22 Apr 08 6:49 PM
|
Originally posted by Jeff Ballard
I've never run into this, so you shouldn't have to recreate it every time. Do you have another app that is using the same app pool as SalesLogix that loads a different version of .NET into the app pool before SalesLogix runs? SalesLogix should definitely have it's own app pool that is not shared with anything else.
If there is another app that loads the 1.1 framework and then SLX tries to load the 2.0 framework, it won't run. I can't swear to it, but I think that the service unavailable is a common symptom/result of a conflict between two versions of the framework attempting to run in the same app pool. I googled [different version .net framework app pool error +"service unavailable"] and got a number of hits indicating the "service unavailable" is a common problem with app pools and .net versions.
This thread (http://www.webhostingtalk.com/archive/index.php/t-508880.html) also suggests that it could be permissions - make sure your SLX web user has the "Log on as a service" right. This is required according to the SLX documentation.
If you have it set up under it's own app pool and nothing else using it and still get the error, I'm not sure where to look. Is there something in the event logs that might shed some light?
Jeff
|
|
I checked for all those you mentioned above and everything looks correct. Also, I checked on the event viewer and nothing in there. |
|
|
|
Re: HOW TO: Add/Edit/Delete fields within the module/package
Posted: 22 Apr 08 7:02 PM
|
Ronny,
I'm kind of stumped on this one. A couple of random ideas: does the SLX user also have the "Act as a part of the operating system" and "Log on locally" permissions? I doubt those are the culprit - it runs at some point so the permissions are probably OK.
Once everything stops working, what happens when you run the verify web site function from within the web manager, does it report anything not configured correctly?
Jeff
|
|
|
|
Re: HOW TO: Add/Edit/Delete fields within the module/package
Posted: 22 Apr 08 8:34 PM
|
Hi Jeff,
I have another problem after changing the original custaddticket template. I already made my custom one as active and deactivate the original one. Also, I already create an override for that particular template. However, when I try to access that page, it gives me this error:
We apologize for the inconvenience, but we cannot complete your request for the following reason(s):
The template "custaddticket" was not found.
Even though I placed back the original, it still throws me this error. What am I missing here?
Thanks in advance. |
|
|
|
Re: HOW TO: Add/Edit/Delete fields within the module/package
Posted: 23 Apr 08 11:35 AM
|
When you open the file in web manager, does it open correctly? Just want to make sure that file is in the expected location.
The only thing that I can think of is to run a SQL trace and see what it's looking for - you should see the web DLL running a select * from slxwebtemplate where name = 'custaddticket' and isactive = 'T'. Perhaps it's hard-coding the package? That wouldn't explain why it doesn't find it when you reactivate the original template.
The other thing to try is run process monitor (available at http://technet.microsoft.com/en-us/sysinternals/default.aspx) and see if it's capturing an error there. That might shed some light.
Jeff
|
|
|
|
Re: HOW TO: Add/Edit/Delete fields within the module/package
Posted: 23 Apr 08 4:56 PM
|
HI Jeff,
I thank you for all your responses. I am new to this portal, so, I might have quite a few of questions: 1. I am not sure if what I am doing is correct. Everytime I create a new website using the wizard on Web Manager, it automatically creates an AppPool for me. However, it will throw me a Service Unavailable message when I tried to access it until I create another AppPool with different name and then assigned it into the virtual directories. 2. Do I have to reset IIS everytime I made changes to the template?
Thanks in advance. |
|
|
|
Re: HOW TO: Add/Edit/Delete fields within the module/package
Posted: 23 Apr 08 5:17 PM
|
Ronny,
What version of SalesLogix are you running? 6.2.x or 7.0? SalesLogix 6.x should use version 1.1 of the .NET Framework and 7.0 should user version 2.0. If you right click on your web site and select "properties" and go to the ASP.NET tab, what version of the framework does it show? Is it the right version for the version of SLX you're running?
After you use the web site creation wizard, it should have everything set up correctly for you, although if you have the wrong version of the framework, it may set everything up correctly, but still won't function if it has an unexpected version of the framework.
You shouldn't have to do an iisreset whenever you change the template. Either a flush (each time you make a change) or turning off the cache (once) should solve the problem.
http://server:port/scripts/slxweb.dll/admin?command=flush (must be run after each change unless you turn caching off; see below) http://server:port/scripts/slxweb.dll/admin?command=cacheoff (doesn't require flushing after each change, but don't use in a production environment - it hurts performance)
Jeff
|
|
|
| |
|
Re: HOW TO: Add/Edit/Delete fields within the module/package
Posted: 23 Apr 08 7:16 PM
|
Sorry I didn't ask before - I was assuming you were running on 7.0 and not 6.x. I have a feeling that's the issue. It's not stated very well - it's not even in the web implementation guide - only the 6.2.3 web developers reference guide.
Let me know if that doesn't solve the issue.
Jeff
|
|
|
| |
|
Re: HOW TO: Add/Edit/Delete fields within the module/package
Posted: 24 Apr 08 1:54 PM
|
Try opening a command prompt and changing the directory to:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
and running
aspnet_regiis -i
This should register the .NET 1.1 framework with IIS and associate the script maps to the 1.1 level, but only if it's not associated with a later version. In other words, you will need to go into the properties of the SLX web site and change the version of the framework from 2.0 to 1.1. I would also double check any sites/virtual directories that should have version 2.0 associated with them and make sure they didn't get changed. It's not supposed to change it if it has a later version of the framework associated, but in the words of Ronald Reagan, "Trust, but verify."
The documentation on the aspnet_regiis command is here: http://msdn2.microsoft.com/en-us/library/k6h9cz8h(VS.71).aspx
Jeff
|
|
|
|
Re: HOW TO: Add/Edit/Delete fields within the module/package
Posted: 24 Apr 08 5:55 PM
|
Hi Jeff,
Sorry...but eventhough I switch the ASP.NET to 1.1, I still have to create a separate AppPool to make it works. Am I missing something here? Is there any documentation of how to create a new Customer Portal. I already follow the instruction on SalesLogix Implementation Guide but still no luck. |
|
|
|
Re: HOW TO: Add/Edit/Delete fields within the module/package
Posted: 24 Apr 08 5:57 PM
|
What identity is your app pool set to run under? Your SalesLogix web user?
I assume you're following the web implementation guide for 6.2.x? It should have the instructions on setting up the customer portal. The regular implementation guide doesn't...
Jeff
|
|
|
|
Re: HOW TO: Add/Edit/Delete fields within the module/package
Posted: 25 Apr 08 1:38 AM
|
Hi Jeff,
I made some changes to my UI, but when I refresh my web page, it did not show my changes. When I tried to do flush, I received this error:
We apologize for the inconvenience, but we cannot complete your request for the following reason(s):
You must login as ADMIN to use any /admin commands
Can you help me to find out what I am doing wrong here? Thank you as always. |
|
|
| |
|
Re: HOW TO: Add/Edit/Delete fields within the module/package
Posted: 25 Apr 08 11:26 AM
|
Hi Jeff,
How to make myself as an admin or how to find out the admin of the site? I have admin access to SLX Administrator as well as web manager, but I don't think I have admin rights to Web Access Customer Portal. Please advise. Thanks in advance. |
|
|
|
Re: HOW TO: Add/Edit/Delete fields within the module/package
Posted: 25 Apr 08 11:36 AM
|
You need to login to the web client using the user name "Admin" and the associated password. Without that, you can't flush or any of the other commands listed before.
You shouldn't need to log in to the customer portal per se, just log in to the standard web client on the same port/site your customer portal runs on. If you can't do that, an iisreset will do the trick. That clears out everything.
Jeff
|
|
|
|