Mono Support Asking for login when Iaccess anything from upload folder without login 

Viewed 12969 time(s), 6 post(s), 9/11/2014 3:54:39 PM - by nasman
9/11/2014 3:54:39 PM
845 Reputation 93 Total posts

hi,

I am using MonoXFileSystemContentProvider  for the uploaded files.  I am getting login page when I access any image from the upload folder without login. Any idea?

1
9/12/2014 8:36:12 AM
15993 Reputation 2214 Total posts

Did you set any kind of permissions on the Upload folder, in main web.config or do you have separate web.config with permissions in the upload folder. Also can you provide us with the fiddler session or general information about the request and response for that request ?

Regards

2
9/12/2014 10:31:08 AM
845 Reputation 93 Total posts

I am using virtual directory for the upload folder because actual upload folder is on another server.  I have also tried  following but it didn't work


 <location path="/upload">
        <system.web>
            <authorization>
                <allow users="*" />
            </authorization>
        </system.web>
    </location>     

3
9/16/2014 7:02:51 AM
3016 Reputation 428 Total posts

Hi,

as Kristijan mentioned, can you provide is with fiddler session. Did you check MonoX logs?

Regards.

4
9/16/2014 7:20:49 AM
845 Reputation 93 Total posts

Hi,

We have set the anonymous access in IIS for the virtual directory and it  starts  working now.

Thanks for your help

5
9/16/2014 7:33:45 AM
3016 Reputation 428 Total posts

Ok, we are glad you managed to resolve your issue.

Regards.

6
This is a demo site for MonoX. Please visit Mono Software for more info.