Inhalte aufrufen

Profilbild

Wrong behaviour when start from VisualStudio


  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
9 Antworten zu diesem Thema

#1 net4u

net4u

    Advanced Member

  • Members
  • PunktPunktPunkt
  • 48 Beiträge

Geschrieben: 19 August 2015 - 09:06

Hi,

 

I experience an issue when I launch from Visual Studio: after login, when I want to enter the Admin Dashboard I get an 404 error. I am on latest donload from Github, with a new database. I did not try to publish to my test server, but anyway I did not experienced this in the past.

I also add this as issue on GitHub.

 

Any hints please?

 

L.E.

 

I notticed that even after publishing to my test server, the whole Administration folder is missing, but on other hand, there are also some other folders published (e.g. Extensions, Infrastructure etc. that are not supposed to be published).

OK, here if I build from ClickToBuild.cmd, the Build\Web folder is prepared correct, and I can manually copy to test folder on my server, but if the approach is from VisualStudio what is wrong (I am absolutelly sure that in past it was not this issues, because I worked some months ago at payment plugin and allways I tested from VS launch, and then published with VS Publish menu) ?!

Angehängte Bilder



#2 Michael Herzog

Michael Herzog

    SmartStore AG

  • Administrators
  • 3498 Beiträge

Geschrieben: 19 August 2015 - 10:09

Hi,

 

I can't reproduce this with the current branch.

 

Regards


Michael Herzog
Smartstore AG


#3 net4u

net4u

    Advanced Member

  • Members
  • PunktPunktPunkt
  • 48 Beiträge

Geschrieben: 19 August 2015 - 10:58

Hi,

 

I checked also on different developp notebooks and it behaves similar. Also I recheck older project(s) (2.1.x and 2.2.x) and they work just fine.

I will check if behaves similar in VS2013 (now I was just in VS2015)

 

L.E.

 

I checked and in VS2013 all works just fine. It's strange since in VS2015 the reduild of solution works fine, but produce the described issue.



#4 Murat Cakir

Murat Cakir

    SmartStore AG

  • Administrators
  • 1118 Beiträge

Geschrieben: 19 August 2015 - 18:51

We don't support VS2015 yet. There are also other issues needing a fix. Please wait a few days until the build process is made compatible with VS2015.


Murat Cakir
SmartStore AG


#5 Murat Cakir

Murat Cakir

    SmartStore AG

  • Administrators
  • 1118 Beiträge

Geschrieben: 20 August 2015 - 17:27

Please pull the latest commit and try again.


Murat Cakir
SmartStore AG


#6 net4u

net4u

    Advanced Member

  • Members
  • PunktPunktPunkt
  • 48 Beiträge

Geschrieben: 20 August 2015 - 20:42

Thnx Murat

 

Now works fine both in VS2013 and VS2015



#7 inbanco

inbanco

    Member

  • Members
  • PunktPunkt
  • 14 Beiträge

Geschrieben: 08 February 2016 - 06:17

I am getting this same behaviour using VS2015 and the latest commit when i deply to my server using web deploy / publish. What was the solution?



#8 Murat Cakir

Murat Cakir

    SmartStore AG

  • Administrators
  • 1118 Beiträge

Geschrieben: 09 February 2016 - 17:59

The solution: don't use Web Deploy, execute ClickToBuild.bat instead.


Murat Cakir
SmartStore AG


#9 inbanco

inbanco

    Member

  • Members
  • PunktPunkt
  • 14 Beiträge

Geschrieben: 11 February 2016 - 05:13

ok - thanks



#10 Henry Nguyen

Henry Nguyen

    Newbie

  • Members
  • Punkt
  • 2 Beiträge

Geschrieben: 04 April 2016 - 16:28

The solution: don't use Web Deploy, execute ClickToBuild.bat instead.

i got 403 error when access the admin page? how can solve it?