|
|||
|
After the brilliant success of getting SWFGen to work within SWFKit Pro 2.1, I'm now experimenting trying to get SWFGen to work online.
Ideally I'd like to be able to allow users to create .swf content online. I have purchased some ASP.net webspace and then simply uploaded the SWFGen ASP.net example files. The files then run e.g. try http://createconte.web109.discountasp.net/swfgen.htm But the SWFGen magic doesn't. ![]() I suspect this is because I haven't installed something properly, or perhaps not put my licence key in. All I did was upload the example files - I haven't edited or changed this at all.
__________________
:) |
|
|||
|
Ok. This makes sense.
So I will need a dedicated ASP.net server that allows me to install something directly? Or is this something that is simply put into the 'bin folder' and it runs? Do you know of any hosts where this is installed, or do you provide such hosting? :P
__________________
:) |
|
|||
|
Ok. I think that the hosting I already have is enough then - I can 'install' the .dll in the /bin folder.
I think this is where I am going wrong. Could you tell me how to do this? What needs to be done? I have uploaded the swfGen.dll to the bin folder, as well as uploading all the example files. This is the link at the start of this thread. Thanks for your help.
__________________
:) |
|
|||
|
You must register it. ActiveX components must be registered before you can use them. Typing the following command
Code:
regsvr32 the_dll_file_name Code:
regsvr32 c:\windows\system32\swfgen\swfgen.dll |
|
|||
|
I have since registered alternative ASP.net hosting and the hosts have followed the instructions to the letter.
Unfortunately it simply doesn't work. See: http://www.contentgenerator.net/swfgen.htm Any ideas? ![]() The response from the support people was: Quote:
![]()
__________________
:) |
|
|||
|
You must change something in the C# code.
E.g. In bkcolor.aspx.cs, line 57 Change Code:
string path = FormalizePath(Server.MapPath("/SWFGen"));
Code:
string path = FormalizePath(Server.MapPath("/"));
|
|
|||
|
Sorry - I've tried that - edited the page as you say, but it still doesn't work:
http://www.contentgenerator.net/bkcolor.htm Every time I try something, the substituted .swf never appears. Thanks for the help with this. Do you have any futher ideas? :-[
__________________
:) |
|
|||
|
This is the error message of page http://www.contentgenerator.net/bkcolor.aspx
Server Error in '/' Application. -------------------------------------------------------------------------------- Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off". <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration> Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL. <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/> </system.web> </configuration> Please modify the customErrors tag in the "web.config" file from Code:
<customErrors
mode="RemoteOnly"
/>
Code:
<customErrors
mode="Off"
/>
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|