229 messaggi dal 20 novembre 2014
Qualcuno sa dirmi dove sbaglio? Ho creato una funzione per l'upload dei file su una cartella di rete, in locale funziona correttamente, appena pubblico sul server mi fa selezionare il file ma non funziona la barra di caricamente e il file non passa... Qualcuno ha idea? E' come se non leggesse jquery

Grazie
229 messaggi dal 20 novembre 2014
Aggiungo che ho sempre un equilibrio precarico con librerie e css (non capisco il perchè), appena tocco qualcosa rischio di non far funzionare più niente, anche se da me in locale funziona correttamente in console trovo questi errori


Regex

Hide network messages
All
Errors
Warnings
Info
Logs
Debug
Handled

http://localhost:63030/Content/bootstrap/bootstrap-theme.min.css Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost:63030/Content/jquery.ui.theme.css Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost:63030/Content/bootstrap/bootstrap.min.css Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost:63030/Content/jquery.ui.base.css Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost:63030/Content/bootstrap/bootstrap-theme.min.css Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost:63030/Content/bootstrap/bootstrap.min.css Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost:63030/Content/jquery.ui.base.css Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost:63030/Content/jquery.ui.theme.css Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost:63030/Content/bootstrap/bootstrap-theme.min.css Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost:63030/Content/bootstrap/bootstrap.min.css Failed to load resource: the server responded with a status of 404 (Not Found)
11.886 messaggi dal 09 febbraio 2002
Contributi
Ciao,
si stanno verificando degli errori 404, quindi le cause più probabili sono che:
  • I file non esistono sul disco: in questo caso vai a verificare se nella cartella Content del server i file mancano. Se mancano, potrebbe dipendere dal fatto che hai usato la pubblicazione di Visual Studio ma, nella soluzione, tali file non avevano Build Action impostato su "Content".
  • L'url potrebbe essere sbagliato. Potresti aver referenziato le risorse con un URL assoluto nella pagina, tipo:
    <link href="http://localhost:63030/Content/file.css" rel="stylesheet" type="text/css">
    

    Che ovviamente non può funzionare dopo la pubblicazione, dato che localhost:63030 non è un nomehost appropriato al server di produzione. Dovresti eliminare il nome host del tutto.


Oppure questo:
http://forum.aspitalia.com/forum/post/414098/MVC-Bootstrap.aspx

ciao,
Moreno

Enjoy learning and just keep making
229 messaggi dal 20 novembre 2014
Ciao Moreno,
grazie mille per il supporto, il problema rimarrà un mistero però ho risolto.
Praticamente mi mancava jquery-ui.widget.js sia sulla mia macchina che sul server però misteriosamente in locale funzionava sul server no!
Bho...

Torna al forum | Feed RSS

ASPItalia.com non è responsabile per il contenuto dei messaggi presenti su questo servizio, non avendo nessun controllo sui messaggi postati nei propri forum, che rappresentano l'espressione del pensiero degli autori.