Asp.net web application does not resolve path directly when deployed by octopus

hi all:
octopus is great, but i’m having a little bit of difficulty deploying a web application in asp.net.

the site was previously deployed using cc.net, as a web application. all was working well.

Now i’m using octopus deploy to deploy the same site. No code changes; however, when it tries to access a resource using the following syntax:

<telerik:RadEditor ContentAreaCssFile="/includes/DefaultEditor.css" runat=“server”

i get an error indicating that it’s looking for the file at:

‘c:\windows\system32\inetsrv~\TaskEditorToolbarDefault.xml’

The only difference is that IIS is being configured by OD; what gives?

Running Octopus 3.8.2, target server is Windows Server 2008 R2 Enterprise

thanks
david

oops … never mind.

sorry… new to this nuget packaging thing. turns out the file was not included in the project, so nuget, when using the .csproj file to figure out what to pack up, didn’t know to pick up that file.

And i guess the second thing I learned is that IIS will fall back to looking for the file in …system32\inetsrv when it can’t find something.

so, mystery solved.

Hi David,

Thanks for getting in touch! I’m glad to hear that you figured this out!

Please feel free to get in touch in the future if you run into any further issues. :slight_smile:

Best regards,
Daniel