MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

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

Viewed 4707 time(s), 6 post(s) 9/11/2014 3:54:39 PMby nasman
nasman

nasman

9/11/2014 3:54:39 PM
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?
This content has not been rated yet. 
845 Reputation 93 Total posts
khorvat

khorvat

9/12/2014 8:36:12 AM
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
This content has not been rated yet. 
15993 Reputation 2214 Total posts
nasman

nasman

9/12/2014 10:31:08 AM
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>     
This content has not been rated yet. 
845 Reputation 93 Total posts
imarusic

imarusic

9/16/2014 7:02:51 AM
Hi,

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

Regards.
This content has not been rated yet. 
3016 Reputation 428 Total posts
nasman

nasman

9/16/2014 7:20:49 AM
Hi,

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

Thanks for your help
This content has not been rated yet. 
845 Reputation 93 Total posts
imarusic

imarusic

9/16/2014 7:33:45 AM
Ok, we are glad you managed to resolve your issue.

Regards.
This content has not been rated yet. 
3016 Reputation 428 Total posts