Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-18-2004, 11:17 AM
Member
 
Join Date: May 2004
Posts: 78
Default SWFGen on ASP.net

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.
__________________
:)
Reply With Quote
  #2 (permalink)  
Old 05-18-2004, 11:44 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:SWFGen on ASP.net

You must install it on the server.
Reply With Quote
  #3 (permalink)  
Old 05-18-2004, 03:04 PM
Member
 
Join Date: May 2004
Posts: 78
Default Re:SWFGen on ASP.net

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
__________________
:)
Reply With Quote
  #4 (permalink)  
Old 05-19-2004, 02:19 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:SWFGen on ASP.net

Please do a Google search using keyword "web hosting asp.net com/dll". You will find a lot of results.
Reply With Quote
  #5 (permalink)  
Old 05-19-2004, 08:57 AM
Member
 
Join Date: May 2004
Posts: 78
Default Re:SWFGen on ASP.net

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.
__________________
:)
Reply With Quote
  #6 (permalink)  
Old 05-20-2004, 10:34 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:SWFGen on ASP.net

You must register it. ActiveX components must be registered before you can use them. Typing the following command
Code:
regsvr32 the_dll_file_name
E.g.
Code:
regsvr32 c:\windows\system32\swfgen\swfgen.dll
Tell the administrator to register the dll on the server in this way.
Reply With Quote
  #7 (permalink)  
Old 05-21-2004, 04:34 PM
Member
 
Join Date: May 2004
Posts: 78
Default Re:SWFGen on ASP.net

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:
I have installed this with regsvr32 but it does not appear to be working properly. I tried the swfgen.htm on your site but I am not certain if it is working. Does it need to write files somewhere?
I believe all the instructions have been followed to the letter. I'm mistified.
__________________
:)
Reply With Quote
  #8 (permalink)  
Old 05-22-2004, 03:26 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:SWFGen on ASP.net

You must change something in the C# code.
E.g.

In bkcolor.aspx.cs, line 57
Change
Code:
string path = FormalizePath(Server.MapPath("/SWFGen"));
To
Code:
string path = FormalizePath(Server.MapPath("/"));
For in the sample, the virtual directory is "swfgen" and you put the sample under the root. If the SWFGen component cannot find the specified movie, it will raise an error.
Reply With Quote
  #9 (permalink)  
Old 05-22-2004, 07:58 AM
Member
 
Join Date: May 2004
Posts: 78
Default Re:SWFGen on ASP.net

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?

:-[
__________________
:)
Reply With Quote
  #10 (permalink)  
Old 05-22-2004, 08:50 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:SWFGen on ASP.net

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" 
    />
to

Code:
<customErrors 
    mode="Off" 
    />
Then we will get the error message.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:57 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.