# Flash and asp on personal server using IIS not working?

**URL:** <https://forum.kirupa.com/t/flash-and-asp-on-personal-server-using-iis-not-working/128669>\
**Category:** Uncategorized\
**Created:** [November 15, 2004, 5:22am UTC](https://forum.kirupa.com/t/flash-and-asp-on-personal-server-using-iis-not-working/128669 "2004-11-15T05:22:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BadBadNeil](https://avatars.discourse-cdn.com/v4/letter/b/f4b2a3/32.png) [@BadBadNeil](https://forum.kirupa.com/u/BadBadNeil)\
**Post date:** [November 15, 2004, 5:22am UTC](https://forum.kirupa.com/t/flash-and-asp-on-personal-server-using-iis-not-working/128669/1 "2004-11-15T05:22:23Z")

</div>

I just have a test server setup using IIS to test some flash files. In the main wwwroot directory and put my flash file, the asp file, and the database file. In flash I linked to the asp file (the asp and database files are correct, I got them from a tutorial site) using:

```auto

stop();

var pollURL:String = "poll.asp";

//create a loadvars object
var poll:LoadVars = new LoadVars();
function pollLoaded(){
	gotoAndStop("Display");
}
poll.onLoad = pollLoaded;

// pick choice of radio buttons and send variable to url
function submitChoice(){
	var choice:Number = radioGroup.selectedData;
	poll.load(pollURL + "?choice=" + choice);
	gotoAndStop("Waiting");
}
//enable the submit button
submit_btn.onRelease = function(){
	submitChoice();
}

```

and I get when i test the file:

```auto

Error opening URL "file:///C|/Inetpub/wwwroot/flash%20tutorials/Lesson11/Assets/poll.asp?choice=1"

```

shouldn’t using “poll.asp” find the asp file in the same location as the flash swf file? Why would it have an error opening it? I checked and script permissions are allowed and I even ran a sample test asp page just to make sure that asp is working and it is. I just don’t get it.

Any help is appreciated

Thanks  
Neil
